diff --git a/product/ERP5/Document/InvoicingRule.py b/product/ERP5/Document/InvoicingRule.py index 2d3ef1e5e305184c898454c7eefc736787a266f0..0cc040b397534e927552229386ef38b93507b93f 100644 --- a/product/ERP5/Document/InvoicingRule.py +++ b/product/ERP5/Document/InvoicingRule.py @@ -106,9 +106,10 @@ class InvoicingRule(Rule): 'stop_date': context_movement.getStopDate(), 'resource': context_movement.getResource(), 'variation_category_list': context_movement.getVariationCategoryList(), - 'variation_property_dict': context_movement.getVariationPropertyDict(), - 'delivery_mode':context_movement.getDeliveryMode(), - 'incoterm':context_movement.getIncoterm(), + 'variation_property_dict': + context_movement.getVariationPropertyDict(), + 'delivery_mode':context_movement.getDeliveryMode(), + 'incoterm':context_movement.getIncoterm(), 'base_contribution_list': context_movement.getBaseContributionList(), 'aggregate_list': context_movement.getAggregateList(), 'quantity': context_movement.getCorrectedQuantity(), @@ -137,10 +138,6 @@ class InvoicingRule(Rule): if not parent_movement.isFrozen(): add_list, modify_dict, \ delete_list = self._getCompensatedMovementList(applied_rule, **kw) - LOG("KW",0,kw) - LOG("Add List",0,add_list) - LOG("Delete List",0,delete_list) - LOG("Modify Dict",0,modify_dict) for movement_id in delete_list: applied_rule._delObject(movement_id) @@ -155,7 +152,6 @@ class InvoicingRule(Rule): else: new_mvmt = applied_rule.newContent(portal_type=self.movement_type) new_mvmt.edit(**movement_dict) - LOG("Movement Dict",0,movement_dict) # Pass to base class