Commit 25473f62 authored by Jérome Perrin's avatar Jérome Perrin

silent log and update comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20424 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f71eca22
...@@ -66,14 +66,15 @@ ...@@ -66,14 +66,15 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>#\n <value> <string>#\n
# This method is used by the sale_invoice_transaction_builder\n # This method is used by the invoice_transaction_builder\n
# delivery builder to select the Sale Invoice Transaction \n # delivery builder to select the Invoice Transaction \n
# in which creating new Sale Invoice Transaction Lines.\n # in which creating new Invoice Transaction Lines.\n
#\n #\n
\n \n
LOG = lambda msg:context.log("SaleInvoiceTransaction_selectDelivery", msg)\n LOG = lambda msg: context.log("InvoiceTransaction_selectDelivery", msg)\n
LOG = lambda msg: "disabled"\n
\n \n
LOG("movements = %s"%movement_list)\n LOG("movements = %s" % movement_list)\n
\n \n
deliveries_keys = {}\n deliveries_keys = {}\n
for movement in movement_list :\n for movement in movement_list :\n
...@@ -86,7 +87,7 @@ for movement in movement_list :\n ...@@ -86,7 +87,7 @@ for movement in movement_list :\n
\n \n
deliveries_keys[line.getExplanationValue()] = 1\n deliveries_keys[line.getExplanationValue()] = 1\n
\n \n
LOG("deliveries = %s"%deliveries_keys.keys())\n LOG("deliveries = %s" % deliveries_keys.keys())\n
return filter(lambda x : x is not None, deliveries_keys.keys())\n return filter(lambda x : x is not None, deliveries_keys.keys())\n
</string> </value> </string> </value>
</item> </item>
......
35 36
\ 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