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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
b9483c71
Commit
b9483c71
authored
Sep 11, 2013
by
Boris Kocherov
Committed by
Julien Muchembled
Sep 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BT: preventing of garbage appearance in objects during reinstall
(cherry picked from commit
ad309c80
)
parent
b99c9ba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-0
product/ERP5VCS/WorkingCopy.py
product/ERP5VCS/WorkingCopy.py
+0
-2
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
b9483c71
...
@@ -5050,6 +5050,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -5050,6 +5050,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
if
self
.
getBtForDiff
():
if
self
.
getBtForDiff
():
item
.
is_bt_for_diff
=
1
item
.
is_bt_for_diff
=
1
item
.
build
(
self
)
item
.
build
(
self
)
# update _p_jar property of objects cleaned by removeProperties
transaction
.
savepoint
(
optimistic
=
True
)
def
publish
(
self
,
url
,
username
=
None
,
password
=
None
):
def
publish
(
self
,
url
,
username
=
None
,
password
=
None
):
"""
"""
...
...
product/ERP5VCS/WorkingCopy.py
View file @
b9483c71
...
@@ -188,8 +188,6 @@ class WorkingCopy(Implicit):
...
@@ -188,8 +188,6 @@ class WorkingCopy(Implicit):
if
business_template
.
getBuildingState
()
==
'draft'
:
if
business_template
.
getBuildingState
()
==
'draft'
:
business_template
.
edit
()
business_template
.
edit
()
business_template
.
build
()
business_template
.
build
()
# XXX: Big hack to make export work as expected.
transaction
.
commit
()
self
.
_export
(
business_template
)
self
.
_export
(
business_template
)
def
_export
(
self
,
business_template
):
def
_export
(
self
,
business_template
):
...
...
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