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

NameError in previous commit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14596 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16763dad
...@@ -93,7 +93,7 @@ portal = context.getPortalObject()\n ...@@ -93,7 +93,7 @@ portal = context.getPortalObject()\n
total_payable_price_per_node_section = dict()\n total_payable_price_per_node_section = dict()\n
\n \n
if simulation_state is None:\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 simulation_state = [x for x in state_list if x not in (\'draft\', \'cancelled\', \'deleted\')]\n
\n \n
if context.AccountingTransaction_isSourceView():\n if context.AccountingTransaction_isSourceView():\n
...@@ -258,7 +258,6 @@ else:\n ...@@ -258,7 +258,6 @@ else:\n
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>Base_getTranslatedWorkflowStateItemList</string>
<string>x</string> <string>x</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>state_list</string> <string>state_list</string>
......
311 312
\ No newline at end of file \ No newline at end of file
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