Commit 51467e17 authored by Jérome Perrin's avatar Jérome Perrin

Those scripts where logging with a wrong script name. Thanks Łukasz for finding this out

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17347 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8830fb6d
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -69,7 +66,7 @@ ...@@ -69,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>DEBUG = 1\n <value> <string>DEBUG = 1\n
LOG = lambda msg:context.log("SaleInvoice_selectMovement", msg)\n LOG = lambda msg:context.log(script.getId(), msg)\n
\n \n
kw[\'parent_specialise_portal_type\'] = \'Invoice Transaction Rule\'\n kw[\'parent_specialise_portal_type\'] = \'Invoice Transaction Rule\'\n
kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Invoice Transaction\', \'Purchase Packing List\']\n kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Invoice Transaction\', \'Purchase Packing List\']\n
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -69,7 +66,7 @@ ...@@ -69,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>DEBUG = 1\n <value> <string>DEBUG = 1\n
LOG = lambda msg:context.log("SaleInvoice_selectPackingListMovement", msg)\n LOG = lambda msg:context.log(script.getId(), msg)\n
\n \n
kw[\'parent_specialise_portal_type\'] = \'Invoicing Rule\'\n kw[\'parent_specialise_portal_type\'] = \'Invoicing Rule\'\n
kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Packing List\']\n kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Packing List\']\n
......
469 471
\ 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