[Erp5-report] r25063 - /erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 8 18:12:45 CET 2009


Author: jerome
Date: Thu Jan  8 18:12:42 2009
New Revision: 25063

URL: http://svn.erp5.org?rev=25063&view=rev
Log:
price is always 1 on accounting transaction lines, so this rule generating
simulation movement that will be accounting transaction lines can set them a
price of 1

Modified:
    erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py

Modified: erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py?rev=25063&r1=25062&r2=25063&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/InvoiceTransactionRule.py [utf8] Thu Jan  8 18:12:42 2009
@@ -143,12 +143,12 @@
 #               '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,
             }
 




More information about the Erp5-report mailing list