Commit 6dd188e7 authored by Jérome Perrin's avatar Jérome Perrin

note the simulation states of created transactions when setting the marker

property used to know if we have to recreate transactions.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13841 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 18e030db
......@@ -80,8 +80,9 @@ default_date = DateTime(year, 01, 01)\n
immediate_reindex = 0\n
\n
# if the previous test didn\'t change input data, no need to recreate content\n
current_script_data_id = \'%s_month_count_%s_draft_%s\' % (\n
month_count, add_draft_transactions, script.getId())\n
current_script_data_id = \'%s_month_count_%s_draft_%s_state_%s\' % (\n
month_count, add_draft_transactions, transaction_state, script.getId())\n
\n
if accounting_module.getProperty(\'current_content_script\',\n
\'\') == current_script_data_id:\n
return "Accounting Transactions Created."\n
......
40
\ No newline at end of file
45
\ 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