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
Xavier Thompson
erp5
Commits
2c08de36
Commit
2c08de36
authored
Apr 17, 2018
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Business Template: Fix syntax error while updating modified_object_list
(fix:
e46ade7a
)
parent
420660e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-2
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
2c08de36
...
...
@@ -2232,12 +2232,12 @@ class RegisteredVersionPrioritySelectionTemplateItem(BaseTemplateItem):
if
new_object
!=
old_object
:
modified_object_list
[
path
]
=
'Modified'
,
class_name_prefix
else
:
modified_object_list
.
update
[
path
]
=
'New'
,
class_name_prefix
modified_object_list
[
path
]
=
'New'
,
class_name_prefix
# Get removed objects
for
path
in
installed_item
.
_objects
:
if
path
not
in
self
.
_objects
:
modified_object_list
.
update
[
path
]
=
'Removed'
,
class_name_prefix
modified_object_list
[
path
]
=
'Removed'
,
class_name_prefix
return
modified_object_list
...
...
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