Commit 83c6aebc authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* Call Delivery_updateAppliedRule with activity in...

* Call Delivery_updateAppliedRule with activity in accounting_workflow/scripts/buildTradeModelLineList.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35561 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86c5dfe7
...@@ -71,11 +71,11 @@ builder = getattr(portal_deliveries,\n ...@@ -71,11 +71,11 @@ builder = getattr(portal_deliveries,\n
builder_by_portal_type[delivery_portal_type],\n builder_by_portal_type[delivery_portal_type],\n
None)\n None)\n
\n \n
update_applied_rule_tag = \'%s_updateAppliedRule\' % delivery.getPath()\n expand_tag = \'%s_expand\' % delivery.getPath()\n
build_tag = \'invoice_transaction_build_trade_model_%s\' % delivery.getRelativeUrl()\n build_tag = \'invoice_transaction_build_trade_model_%s\' % delivery.getRelativeUrl()\n
build_accounting_tag = \'invoice_transaction_build_accounting_%s\' % delivery.getRelativeUrl()\n build_accounting_tag = \'invoice_transaction_build_accounting_%s\' % delivery.getRelativeUrl()\n
\n \n
delivery.Delivery_updateAppliedRule(activate_kw=dict(tag=update_applied_rule_tag))\n delivery.activate(after_tag=expand_tag).Delivery_updateAppliedRule(activate_kw=dict(tag=expand_tag))\n
\n \n
if builder is not None:\n if builder is not None:\n
explanation_uid_list = [delivery.getUid(), ]\n explanation_uid_list = [delivery.getUid(), ]\n
...@@ -92,7 +92,7 @@ if builder is not None:\n ...@@ -92,7 +92,7 @@ if builder is not None:\n
\n \n
builder.activate(\n builder.activate(\n
activity=\'SQLQueue\',\n activity=\'SQLQueue\',\n
after_tag=update_applied_rule_tag,\n after_tag=expand_tag,\n
tag=build_tag,\n tag=build_tag,\n
activate_kw=dict(tag=build_tag)).build(activate_kw=dict(tag=build_tag),\n activate_kw=dict(tag=build_tag)).build(activate_kw=dict(tag=build_tag),\n
explanation_uid=explanation_uid_list)\n explanation_uid=explanation_uid_list)\n
...@@ -146,7 +146,7 @@ if builder is not None:\n ...@@ -146,7 +146,7 @@ if builder is not None:\n
<string>getattr</string> <string>getattr</string>
<string>None</string> <string>None</string>
<string>builder</string> <string>builder</string>
<string>update_applied_rule_tag</string> <string>expand_tag</string>
<string>build_tag</string> <string>build_tag</string>
<string>build_accounting_tag</string> <string>build_accounting_tag</string>
<string>dict</string> <string>dict</string>
......
2010-05-24 kazuhiko
* Call Delivery_updateAppliedRule with activity in accounting_workflow/scripts/buildTradeModelLineList.
2010-05-24 Jérome 2010-05-24 Jérome
* Allow to select multiple accounts root in General Ledger and Trial Balance * Allow to select multiple accounts root in General Ledger and Trial Balance
......
1219 1220
\ 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