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 @@ ...@@ -68,7 +68,6 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>"""\n <value> <string>"""\n
Builds the delivery.\n Builds the delivery.\n
\n
"""\n """\n
\n \n
delivery = sci[\'object\']\n delivery = sci[\'object\']\n
...@@ -84,56 +83,59 @@ if builder_by_ptype.has_key(delivery_portal_type) : \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 builder = getattr(portal_deliveries, builder_by_ptype[delivery_portal_type], None)\n
if builder is None :\n if builder is None :\n
context.log(\'accounting_workflow/scripts/Delivery_build\', \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 return\n
\n \n
# build accounting line\n # FIXME after_method_id is not enough here. \n
\n
# build accounting lines\n
builder.activate(\n builder.activate(\n
after_method_id=(\'expand\',\'edit\',\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n after_method_id=(\'expand\', \'updateAppliedRule\', \'edit\',\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))\\\n
.build()\n .build()\n
\n \n
# build related payment transactions\n # build related payment transactions\n
portal_deliveries.payment_transaction_builder.activate(\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 .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> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAsAAAAPAAAAQwAA <value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAsAAAAQAAAAQwAA
AHMqAQAAdAAAfAAAZAEAgwIAfQIAdAMAfAIAZAIAgwIAgwAAfQQAdAMAdAMAfAAAZAMAgwIAgwAA AHN3AQAAdAAAfAAAZAEAgwIAfQIAdAMAfAIAZAIAgwIAgwAAfQQAdAMAdAMAfAAAZAMAgwIAgwAA
ZAQAgwIAfQUAaAAABGQFAGQGAAM8BGQHAGQIAAM8fQYAdAMAfAYAZAkAgwIAfAQAgwEAb7wAAXQH ZAQAgwIAfQUAaAAABGQFAGQGAAM8BGQHAGQIAAM8fQYAdAMAfAYAZAkAgwIAfAQAgwEAbwkBAXQH
AHwFAHQAAHwGAHwEAIMCAHQIAIMDAH0JAHwJAHQIAGoIAG8rAAF0AwB0CgBkCgCDAgBkCwBkDAB0 AHwFAHQAAHwGAHwEAIMCAHQIAIMDAH0JAHwJAHQIAGoIAG8rAAF0AwB0CgBkCgCDAgBkCwBkDAB0
AAB8BgB8BACDAgAWgwIAAWQAAFNuAQABdAMAdAMAfAkAZA0AgwIAZA4AZA8AZBAAZBEAZBIAZgQA AAB8BgB8BACDAgAWgwIAAWQAAFNuAQABdAMAdAMAfAkAZA0AgwIAZA4AZA8AZBAAZBEAZBIAZBMA
gwABZBMAgwIAgwAAAXQDAHQDAHQDAHwFAGQUAIMCAGQNAIMCAGQOAGQPAGQQAGQRAGQSAGYEAIMA ZgUAgwABZBQAgwIAgwAAAXQDAHQDAHQDAHwFAGQVAIMCAGQNAIMCAGQOAGQPAGQRAGQQAGQSAGQT
AWQTAIMCAIMA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HR5cGVzBwAAAGdldGF0dHJz
bGRlcnMHAAAAY29udGV4dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMOAAAARGVsaXZl BAAAAE5vbmVzBwAAAGJ1aWxkZXJzBwAAAGNvbnRleHQoCwAAAHMDAAAAc2NpcwkAAABfZ2V0aXRl
cnlfYnVpbGQBAAAAcxwAAAAABQ8BEgEbAhsFEwEbARABEgEOAQ4DDAElBBIBKAEAAABzDgAAAERl bV9zCAAAAGRlbGl2ZXJ5cwkAAABfZ2V0YXR0cl9zFAAAAGRlbGl2ZXJ5X3BvcnRhbF90eXBlcxEA
bGl2ZXJ5X2J1aWxkKAEAAABzDgAAAERlbGl2ZXJ5X2J1aWxkKAAAAAAoAAAAAHMPAAAAU2NyaXB0 AABwb3J0YWxfZGVsaXZlcmllc3MQAAAAYnVpbGRlcl9ieV9wdHlwZXMHAAAAZ2V0YXR0cnMEAAAA
IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value> Tm9uZXMHAAAAYnVpbGRlcnMHAAAAY29udGV4dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9u
KXMOAAAARGVsaXZlcnlfQnVpbGQBAAAAcyAAAAAABA8BEgEbAhsFEwEbARABEgEOAQ4FDAEoBBIB
IgQTASgBAAAAcw4AAABEZWxpdmVyeV9CdWlsZCgBAAAAcw4AAABEZWxpdmVyeV9CdWlsZCgAAAAA
KAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_workflow/accounting_workflow/scripts/Delivery_build</string> </value> <value> <string>Script (Python):/hopital/portal_workflow/accounting_workflow/scripts/Delivery_Build</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
...@@ -190,7 +192,7 @@ IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value> ...@@ -190,7 +192,7 @@ IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Delivery_build</string> </value> <value> <string>Delivery_Build</string> </value>
</item> </item>
<item> <item>
<key> <string>warnings</string> </key> <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