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

rename


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4751 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8d51e8b
......@@ -68,7 +68,6 @@
<key> <string>_body</string> </key>
<value> <string>"""\n
Builds the delivery.\n
\n
"""\n
\n
delivery = sci[\'object\']\n
......@@ -84,56 +83,59 @@ if builder_by_ptype.has_key(delivery_portal_type) : \n
builder = getattr(portal_deliveries, builder_by_ptype[delivery_portal_type], None)\n
if builder is None :\n
context.log(\'accounting_workflow/scripts/Delivery_build\', \n
\'unable to build : no builder in %s\' %builder_by_ptype[delivery_portal_type])\n
\'unable to build : no builder in %s\' % builder_by_ptype[delivery_portal_type])\n
return\n
\n
# build accounting line\n
\n
# FIXME after_method_id is not enough here. \n
\n
# build accounting lines\n
builder.activate(\n
after_method_id=(\'expand\',\'edit\',\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n
after_method_id=(\'expand\', \'updateAppliedRule\', \'edit\',\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n
.build()\n
\n
# build related payment transactions\n
portal_deliveries.payment_transaction_builder.activate(\n
after_method_id=(\'expand\',\'edit\',\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n
after_method_id=(\'expand\', \'edit\', \'updateAppliedRule\', \'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n
.build()\n
\n
# set the object in building state.\n
delivery.startBuilding()\n
delivery.activate( after_path_and_method_id = (builder.getPath(), [\'build\']) ).updateCausalityState()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAsAAAAPAAAAQwAA
AHMqAQAAdAAAfAAAZAEAgwIAfQIAdAMAfAIAZAIAgwIAgwAAfQQAdAMAdAMAfAAAZAMAgwIAgwAA
ZAQAgwIAfQUAaAAABGQFAGQG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AAGNvbnRleHQoCwAAAHMDAAAAc2NpcwkAAABfZ2V0aXRl
bV9zCAAAAGRlbGl2ZXJ5cwkAAABfZ2V0YXR0cl9zFAAAAGRlbGl2ZXJ5X3BvcnRhbF90eXBlcxEA
AABwb3J0YWxfZGVsaXZlcmllc3MQAAAAYnVpbGRlcl9ieV9wdHlwZXMHAAAAZ2V0YXR0cnMEAAAA
Tm9uZXMHAAAAYnVpbGRlcnMHAAAAY29udGV4dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9u
KXMOAAAARGVsaXZlcnlfQnVpbGQBAAAAcyAAAAAABA8BEgEbAhsFEwEbARABEgEOAQ4FDAEoBBIB
IgQTASgBAAAAcw4AAABEZWxpdmVyeV9CdWlsZCgBAAAAcw4AAABEZWxpdmVyeV9CdWlsZCgAAAAA
KAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_workflow/accounting_workflow/scripts/Delivery_build</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
<value> <string>Script (Python):/hopital/portal_workflow/accounting_workflow/scripts/Delivery_Build</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......@@ -190,7 +192,7 @@ IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Delivery_build</string> </value>
<value> <string>Delivery_Build</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
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