Commit 30328430 authored by Yusei Tahara's avatar Yusei Tahara

2010-06-15 yusei

* Fix plan transition on invoice_workflow. Appropriate root applied rule must be made.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36348 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d478d43
......@@ -53,7 +53,24 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>state_change[\'object\'].getExplanationValue().Delivery_updateSimulation()\n
<value> <string>invoice = state_change[\'object\']\n
invoice_path = invoice.getPath()\n
path_and_method_id = (invoice_path, (\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))\n
expand_tag = invoice_path + \'_expand\'\n
tag = invoice_path + \'_updateAppliedRule\'\n
\n
priority = 3\n
\n
activate_kw = { \n
\'tag\': expand_tag,\n
\'priority\': priority,\n
}\n
invoice.activate(\n
after_path_and_method_id=path_and_method_id,\n
after_tag=expand_tag,\n
tag=tag,\n
priority=priority,\n
).Delivery_updateAppliedRule(activate_kw=activate_kw)\n
</string> </value>
</item>
<item>
......@@ -91,8 +108,15 @@
<value>
<tuple>
<string>state_change</string>
<string>_getattr_</string>
<string>_getitem_</string>
<string>invoice</string>
<string>_getattr_</string>
<string>invoice_path</string>
<string>path_and_method_id</string>
<string>expand_tag</string>
<string>tag</string>
<string>priority</string>
<string>activate_kw</string>
</tuple>
</value>
</item>
......@@ -109,7 +133,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Delivery_updateSimulation</string> </value>
<value> <string>Delivery_createRule</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -23,7 +23,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>Delivery_updateSimulation</string> </value>
<value> <string>Delivery_createRule</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
2010-06-15 yusei
* Fix plan transition on invoice_workflow. Appropriate root applied rule must be made.
2010-04-27 yusei
* Fix list view forms for sale/purchase invoice module.
* Fix purchase invoice default view action. View form for purchase invoice transaction was used.
......
88
\ No newline at end of file
89
\ 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