Commit 45037f59 authored by Jérome Perrin's avatar Jérome Perrin

again, take into account precision when calculating current stock.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 64dc284e
......@@ -149,6 +149,8 @@ class BalanceTransaction(AccountingTransaction, Inventory):
getInventoryList = self.getPortalObject()\
.portal_simulation.getInventoryList
section_uid = self.getDestinationSectionUid()
precision = self.getDestinationSectionValue()\
.getCurrencyPrecisionValue().getQuantityPrecision()
default_inventory_params = dict(
to_date=self.getStartDate().earliestTime(),
section_uid=section_uid,
......
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