Commit a6f0d56f authored by Jérome Perrin's avatar Jérome Perrin

fix mistakes from r17317


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45037f59
...@@ -150,10 +150,11 @@ class BalanceTransaction(AccountingTransaction, Inventory): ...@@ -150,10 +150,11 @@ class BalanceTransaction(AccountingTransaction, Inventory):
.portal_simulation.getInventoryList .portal_simulation.getInventoryList
section_uid = self.getDestinationSectionUid() section_uid = self.getDestinationSectionUid()
precision = self.getDestinationSectionValue()\ precision = self.getDestinationSectionValue()\
.getCurrencyPrecisionValue().getQuantityPrecision() .getPriceCurrencyValue().getQuantityPrecision()
default_inventory_params = dict( default_inventory_params = dict(
to_date=self.getStartDate().earliestTime(), to_date=self.getStartDate().earliestTime(),
section_uid=section_uid, section_uid=section_uid,
precision=precision,
portal_type=self.getPortalAccountingMovementTypeList(), portal_type=self.getPortalAccountingMovementTypeList(),
simulation_state=('delivered', )) simulation_state=('delivered', ))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment