diff --git a/product/ERP5/mixin/amount_generator.py b/product/ERP5/mixin/amount_generator.py index 0f5b87121d8419af3f3559831bab616d36ca36a1..95a67577200411e3dd29599ac44f502c1f8fc8f2 100644 --- a/product/ERP5/mixin/amount_generator.py +++ b/product/ERP5/mixin/amount_generator.py @@ -159,7 +159,8 @@ class AmountGeneratorMixin: security.declareProtected(Permissions.AccessContentsInformation, 'getGeneratedAmountList') def getGeneratedAmountList(self, amount_list=None, rounding=False, - amount_generator_type_list=None): + amount_generator_type_list=None, + generate_empty_amounts=True): """ Implementation of a generic transformation algorithm which is applicable to payroll, tax generation and BOMs. Return the @@ -374,7 +375,8 @@ class AmountGeneratorMixin: security.declareProtected(Permissions.AccessContentsInformation, 'getAggregatedAmountList') def getAggregatedAmountList(self, amount_list=None, rounding=False, - amount_generator_type_list=None): + amount_generator_type_list=None, + generate_empty_amounts=True): """ Implementation of a generic transformation algorith which is applicable to payroll, tax generation and BOMs. Return the