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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Noah Brackenbury
erp5
Commits
d080ad28
Commit
d080ad28
authored
Apr 20, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Copy title for the new manager
parent
edbbbd1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/Document/BusinessManager.py
product/ERP5/Document/BusinessManager.py
+2
-0
No files found.
product/ERP5/Document/BusinessManager.py
View file @
d080ad28
...
@@ -278,6 +278,7 @@ class BusinessManager(XMLObject):
...
@@ -278,6 +278,7 @@ class BusinessManager(XMLObject):
connection
=
self
.
aq_parent
.
_p_jar
connection
=
self
.
aq_parent
.
_p_jar
file
=
open
(
path
,
'rb'
)
file
=
open
(
path
,
'rb'
)
obj
=
connection
.
importFile
(
file
)
obj
=
connection
.
importFile
(
file
)
self
.
title
=
obj
.
title
self
.
_path_item_list
=
obj
.
_path_item_list
[:]
self
.
_path_item_list
=
obj
.
_path_item_list
[:]
self
.
_setTemplatePathList
(
obj
.
getTemplatePathList
())
self
.
_setTemplatePathList
(
obj
.
getTemplatePathList
())
...
@@ -690,6 +691,7 @@ class BusinessItem(Persistent):
...
@@ -690,6 +691,7 @@ class BusinessItem(Persistent):
obj
=
p
.
unrestrictedTraverse
(
relative_url
)
obj
=
p
.
unrestrictedTraverse
(
relative_url
)
obj
=
obj
.
_getCopy
(
context
)
obj
=
obj
.
_getCopy
(
context
)
obj
=
obj
.
__of__
(
context
)
obj
=
obj
.
__of__
(
context
)
# XXX: '_recursiveRemoveUid' is not working as expected
_recursiveRemoveUid
(
obj
)
_recursiveRemoveUid
(
obj
)
self
.
value
=
obj
self
.
value
=
obj
# Generate hash for the erp5 object value
# Generate hash for the erp5 object value
...
...
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