Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
f76a4e45
Commit
f76a4e45
authored
Jun 22, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Don't trash previous objects for erp5 core bt5
parent
b437249e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+4
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
f76a4e45
...
@@ -5405,6 +5405,9 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -5405,6 +5405,9 @@ Business Template is a set of definitions, such as skins, portal types and categ
# always created a trash bin because we may to save object already present
# always created a trash bin because we may to save object already present
# but not in a previous business templates apart at creation of a new site
# but not in a previous business templates apart at creation of a new site
if
trash_tool
is
not
None
and
(
len
(
object_to_update
)
>
0
or
len
(
self
.
portal_templates
)
>
2
):
if
trash_tool
is
not
None
and
(
len
(
object_to_update
)
>
0
or
len
(
self
.
portal_templates
)
>
2
):
if
self
.
title
==
'erp5_core'
:
trashbin
=
None
else
:
trashbin
=
trash_tool
.
newTrashBin
(
self
.
getTitle
(),
self
)
trashbin
=
trash_tool
.
newTrashBin
(
self
.
getTitle
(),
self
)
else
:
else
:
trashbin
=
None
trashbin
=
None
...
...
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