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
Nicolas Wavrant
erp5
Commits
8bfcf2b3
Commit
8bfcf2b3
authored
Dec 22, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore only in force mode.
In case of no force mode, user might want to really replace the object.
parent
5e98a8ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+1
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
8bfcf2b3
...
@@ -992,7 +992,7 @@ class ObjectTemplateItem(BaseTemplateItem):
...
@@ -992,7 +992,7 @@ class ObjectTemplateItem(BaseTemplateItem):
old_obj
=
container
.
_getOb
(
object_id
,
None
)
old_obj
=
container
.
_getOb
(
object_id
,
None
)
object_existed
=
old_obj
is
not
None
object_existed
=
old_obj
is
not
None
if
object_existed
:
if
object_existed
:
if
context
.
isKeepObject
(
path
):
if
context
.
isKeepObject
(
path
)
and
force
:
# do nothing if the object is specified in keep list in
# do nothing if the object is specified in keep list in
# force mode.
# force mode.
continue
continue
...
...
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