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
0
Issues
0
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
Titouan Soulard
erp5
Commits
f860b53a
Commit
f860b53a
authored
Apr 05, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project: fix a few typo/grammar mistakes
parent
b02342b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
.../erp5_project_trade/Delivery_updateTaskFastInputDialog.py
+4
-5
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
View file @
f860b53a
"""At first call, this script prefill values for all tasks that are
going to be created. If values are already there, this script check
if
information
s are
correct.
"""At first call, this script prefill
s
values for all tasks that are
going to be created. If values are already there, this script check
that
information
is
correct.
"""
portal
=
context
.
getPortalObject
()
line_portal_type
=
"Sale Order Line"
...
...
@@ -17,7 +17,7 @@ listbox = []
validation_errors
=
{}
def
getRecursiveLineList
(
current
,
line_list
):
# We parse recursively all delivery line and we keep only ones
# without child
s
# without child
sub_line_list
=
current
.
objectValues
(
portal_type
=
line_portal_type
)
if
len
(
sub_line_list
)
==
0
:
if
current
.
getPortalType
()
==
line_portal_type
:
...
...
@@ -32,7 +32,6 @@ project_search_dict = {}
portal
=
context
.
getPortalObject
()
for
line
in
line_list
:
line_dict
=
{}
#line_dict['listbox_key'] = "%s" % line_id
key
=
zfill
(
i
,
3
)
for
property_name
in
(
'title'
,
'quantity_unit_title'
,
'quantity'
,
'resource_title'
,
'total_price'
,
'price'
,
...
...
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