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
ad309c80
Commit
ad309c80
authored
Sep 11, 2013
by
Boris Kocherov
Committed by
Julien Muchembled
Sep 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BT: preventing of garbage appearance in objects during reinstall
parent
46a43174
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 @
ad309c80
...
@@ -5098,6 +5098,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -5098,6 +5098,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 @
ad309c80
...
@@ -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