theimip/genius — pull request #3 by zauddelig (2013-08-28 15:11:56+00:00)
Title: Basket fix

Line.items_required must be nullable for Basket.add_product() compatibility making a retro compatibility with the former Lines with Line.items_required=0, will raise a custom exception when Line.items_required is Null and self.stockrecord_source == self.OPTIONS_CALCULATOR