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
Sebastian
erp5
Commits
2b08800b
Commit
2b08800b
authored
Jun 22, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type: getOriginalDocument() now returns the top-most original document.
parent
25383fca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+5
-1
No files found.
product/ERP5Type/Base.py
View file @
2b08800b
...
...
@@ -2713,7 +2713,11 @@ class Base( CopyContainer,
else
:
original
=
getattr
(
self
,
'_original'
,
None
)
if
original
is
not
None
:
return
aq_inner
(
original
)
original
=
aq_inner
(
original
)
if
original
.
isTempObject
():
return
original
.
getOriginalDocument
()
else
:
return
original
else
:
return
None
...
...
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