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 525598501d081713fb42a64d8b6ea8d8b4048fb5..81f2a6859f0ffe27e5c993d68961725bc8bd2d5a 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 @@ -93,7 +93,7 @@ portal = context.getPortalObject()\n total_payable_price_per_node_section = dict()\n \n if simulation_state is None:\n - state_list = [x[0] for x in Base_getTranslatedWorkflowStateItemList()]\n + state_list = [x[1] for x in context.Base_getTranslatedWorkflowStateItemList(wf_id=\'accounting_workflow\')]\n simulation_state = [x for x in state_list if x not in (\'draft\', \'cancelled\', \'deleted\')]\n \n if context.AccountingTransaction_isSourceView():\n @@ -258,7 +258,6 @@ else:\n <string>append</string> <string>$append0</string> <string>_getiter_</string> - <string>Base_getTranslatedWorkflowStateItemList</string> <string>x</string> <string>_getitem_</string> <string>state_list</string> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 815f89dbff57f71546ebd5fd99ef7c31fb8c2901..3c7d064c14f18c2752bc1be3268fc7974f0ec5da 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -311 \ No newline at end of file +312 \ No newline at end of file