Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
preetwinder
erp5
Commits
b9483c71
Commit
b9483c71
authored
11 years ago
by
Boris Kocherov
Committed by
Julien Muchembled
10 years ago
Browse files
Options
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
if
self
.
getBtForDiff
():
item
.
is_bt_for_diff
=
1
item
.
build
(
self
)
# update _p_jar property of objects cleaned by removeProperties
transaction
.
savepoint
(
optimistic
=
True
)
def
publish
(
self
,
url
,
username
=
None
,
password
=
None
):
"""
...
...
This diff is collapsed.
Click to expand it.
product/ERP5VCS/WorkingCopy.py
View file @
b9483c71
...
...
@@ -188,8 +188,6 @@ class WorkingCopy(Implicit):
if
business_template
.
getBuildingState
()
==
'draft'
:
business_template
.
edit
()
business_template
.
build
()
# XXX: Big hack to make export work as expected.
transaction
.
commit
()
self
.
_export
(
business_template
)
def
_export
(
self
,
business_template
):
...
...
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