ICT bug padding + template
This commit is contained in:
@@ -444,6 +444,9 @@ class Fee(ModelSQL,ModelView):
|
||||
return sum(quantities)
|
||||
|
||||
def sync_quantity_from_lots(self):
|
||||
if self.mode == 'ppack' and self.auto_calculation:
|
||||
self.assert_quantity_consistency()
|
||||
return
|
||||
quantity = self._get_effective_fee_lots_quantity()
|
||||
if quantity is None:
|
||||
self.assert_quantity_consistency()
|
||||
|
||||
Reference in New Issue
Block a user