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

remove useless log messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7073 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 502926d5
...@@ -66,23 +66,25 @@ ...@@ -66,23 +66,25 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>LOG=lambda msg:context.log("PackingList_buildInvoice", msg)\n <value> <string>packing_list = sci[\'object\']\n
LOG=lambda msg:\'DISABLED\'\n
\n
packing_list = sci.object\n
delivery_tool = sci.getPortal().portal_deliveries\n delivery_tool = sci.getPortal().portal_deliveries\n
LOG("packing_list : %s"%packing_list.getPath())\n
\n \n
if hasattr(delivery_tool, \'sale_invoice_builder\') :\n found = 0\n
delivery_tool.sale_invoice_builder.activate(\n builder_id_list = [\'sale_invoice_builder\', \'purchase_invoice_builder\']\n
after_method_id = [ \'expand\', \n for builder_id in builder_id_list:\n
\'recursiveImmediateReindexObject\',\n if hasattr(delivery_tool, builder_id):\n
\'immediateReindexObject\' ],\n found = 1\n
).build()\n builder = getattr(delivery_tool, builder_id)\n
else :\n builder.activate(\n
context.log("ERP5 Simulation",\n after_method_id = [ \'expand\', \n
\'recursiveImmediateReindexObject\',\n
\'immediateReindexObject\' ],\n
).build()\n
\n
if not found:\n
packing_list.log("ERP5 Simulation",\n
"Unable to build Invoice from packing list at %s "\\\n "Unable to build Invoice from packing list at %s "\\\n
": no sale_invoice_builder" % packing_list.getPath())\n ": no builder" % packing_list.getPath())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -130,12 +132,17 @@ else :\n ...@@ -130,12 +132,17 @@ else :\n
<value> <value>
<tuple> <tuple>
<string>sci</string> <string>sci</string>
<string>LOG</string> <string>_getitem_</string>
<string>_getattr_</string>
<string>packing_list</string> <string>packing_list</string>
<string>_getattr_</string>
<string>delivery_tool</string> <string>delivery_tool</string>
<string>found</string>
<string>builder_id_list</string>
<string>_getiter_</string>
<string>builder_id</string>
<string>hasattr</string> <string>hasattr</string>
<string>context</string> <string>getattr</string>
<string>builder</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -66,11 +66,7 @@ ...@@ -66,11 +66,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>LOG=lambda msg:context.log("PackingList_updateAppliedRule", msg)\n <value> <string>packing_list = state_change[\'object\']\n
LOG=lambda msg:\'DISABLED\'\n
\n
packing_list = state_change.object\n
\n
\n \n
activate_kw = {}\n activate_kw = {}\n
related_order = context.getCausalityValue()\n related_order = context.getCausalityValue()\n
...@@ -137,10 +133,10 @@ packing_list.activate(\n ...@@ -137,10 +133,10 @@ packing_list.activate(\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>LOG</string> <string>_getitem_</string>
<string>_getattr_</string>
<string>packing_list</string> <string>packing_list</string>
<string>activate_kw</string> <string>activate_kw</string>
<string>_getattr_</string>
<string>context</string> <string>context</string>
<string>related_order</string> <string>related_order</string>
<string>after_path_list</string> <string>after_path_list</string>
......
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