diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml index 41810dc3c62526fe913fea18e3632c5a8089ae3f..5fedb64f7c0ba8661778122cf64afd99824fc3f8 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml @@ -121,6 +121,8 @@ def getIsSourceMovementItemList(invoice):\n portal_type=portal.getPortalAccountingMovementTypeList())]\n for btt in context.getCausalityRelatedValueList(\n portal_type=\'Balance Transfer Transaction\'):\n + if simulation_state and btt.getSimulationState() not in simulation_state:\n + continue\n btt_is_source = btt.AccountingTransaction_isSourceView()\n for btt_movement in btt.getMovementList(\n portal_type=portal.getPortalAccountingMovementTypeList()):\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 2da56739379b4c88eeb8bcda0c2ce6fbd891af9d..f9945368e6a42bd79f66d17333a2c68a0d5f1e96 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -418 \ No newline at end of file +419 \ No newline at end of file