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
No related merge requests found
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -69,7 +66,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>DEBUG = 1\n
LOG = lambda msg:context.log("SaleInvoice_selectMovement", msg)\n
LOG = lambda msg:context.log(script.getId(), msg)\n
\n
kw[\'parent_specialise_portal_type\'] = \'Invoice Transaction Rule\'\n
kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Invoice Transaction\', \'Purchase Packing List\']\n
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -69,7 +66,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>DEBUG = 1\n
LOG = lambda msg:context.log("SaleInvoice_selectPackingListMovement", msg)\n
LOG = lambda msg:context.log(script.getId(), msg)\n
\n
kw[\'parent_specialise_portal_type\'] = \'Invoicing Rule\'\n
kw[\'explanation_portal_type\'] = [\'Purchase Order\', \'Purchase Packing List\']\n
......
469
\ No newline at end of file
471
\ 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