Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
b02342b4
Commit
b02342b4
authored
Apr 04, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project: remove debugging logs
parent
9c23c33b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
.../erp5_project_trade/Delivery_updateTaskFastInputDialog.py
+0
-4
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
View file @
b02342b4
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment