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

project: remove debugging logs

parent 9c23c33b
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
going to be created. If values are already there, this script check if going to be created. If values are already there, this script check if
informations are correct. informations are correct.
""" """
context.log('source_project_title', source_project_title)
portal = context.getPortalObject() portal = context.getPortalObject()
line_portal_type = "Sale Order Line" line_portal_type = "Sale Order Line"
request = context.REQUEST request = context.REQUEST
...@@ -10,7 +9,6 @@ from string import zfill ...@@ -10,7 +9,6 @@ from string import zfill
from Products.PythonScripts.standard import Object from Products.PythonScripts.standard import Object
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
context.log('original listbox', listbox)
initial_value_dict = {} initial_value_dict = {}
for line in (listbox or []): for line in (listbox or []):
initial_value_dict[line['listbox_key']] = line initial_value_dict[line['listbox_key']] = line
...@@ -29,7 +27,6 @@ def getRecursiveLineList(current, line_list): ...@@ -29,7 +27,6 @@ def getRecursiveLineList(current, line_list):
getRecursiveLineList(sub_line, line_list) getRecursiveLineList(sub_line, line_list)
line_list = [] line_list = []
getRecursiveLineList(context, line_list) getRecursiveLineList(context, line_list)
context.log("line_list", line_list)
i = 1 i = 1
project_search_dict = {} project_search_dict = {}
portal = context.getPortalObject() portal = context.getPortalObject()
...@@ -72,7 +69,6 @@ for line in line_list: ...@@ -72,7 +69,6 @@ for line in line_list:
listbox.append(line_dict) listbox.append(line_dict)
i += 1 i += 1
context.log('listbox', listbox)
context.Base_updateDialogForm(listbox=listbox,update=1,kw=kw) context.Base_updateDialogForm(listbox=listbox,update=1,kw=kw)
if len(validation_errors): if len(validation_errors):
......
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