diff --git a/product/ERP5/Document/InvoiceTransactionRule.py b/product/ERP5/Document/InvoiceTransactionRule.py index 27474822acf0287cbc3b4b9e435fa4c7a2795bd2..b9af9f3cd61004cd2500ce4cb57ae7df0dc759d4 100644 --- a/product/ERP5/Document/InvoiceTransactionRule.py +++ b/product/ERP5/Document/InvoiceTransactionRule.py @@ -143,12 +143,12 @@ class InvoiceTransactionRule(Rule, PredicateMatrix): # 'variation_property_dict': \ # accounting_rule_cell_line.getVariationPropertyDict(), # 'aggregate_list': accounting_rule_cell_line.getAggregateList(), -# 'price': accounting_rule_cell_line.getPrice(), # 'price_currency': accounting_rule_cell_line.getPriceCurrency(), # calculate (quantity * price) * cell_quantity 'quantity': (context_movement.getCorrectedQuantity() * context_movement.getPrice(0.0)) * accounting_rule_cell_line.getQuantity(), # 'quantity_unit': accounting_rule_cell_line.getQuantityUnit(), + 'price': 1, 'force_update': 1, }