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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
f1e8ed6c
Commit
f1e8ed6c
authored
8 years ago
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX patch: to avoid backup "view" object
parent
b094e983
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
f1e8ed6c
...
...
@@ -1370,6 +1370,7 @@ class ObjectTemplateItem(BaseTemplateItem):
# the right order group
old_groups
[
path
]
=
deepcopy
(
old_obj
.
groups
)
# we force backup since it was an existing object
if
"view"
not
in
path_list
:
subobjects_dict
=
self
.
_backupObject
(
'backup'
,
trashbin
,
container_path
,
object_id
)
# in case of portal types, we want to keep some properties
...
...
This diff is collapsed.
Click to expand it.
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