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
Eugene Shen
erp5
Commits
a38140bc
Commit
a38140bc
authored
May 14, 2015
by
Boris Kocherov
Committed by
Romain Courteaud
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gen_id_from_reference: fix log warning report
parent
e05e9a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5Type/gen_id_from_reference.py
product/ERP5Type/gen_id_from_reference.py
+4
-1
No files found.
product/ERP5Type/gen_id_from_reference.py
View file @
a38140bc
...
@@ -100,7 +100,10 @@ def GenerateIdFromReferenceMixin(prefix):
...
@@ -100,7 +100,10 @@ def GenerateIdFromReferenceMixin(prefix):
except
ActivityPendingError
:
except
ActivityPendingError
:
parent
=
self
.
getParentValue
()
parent
=
self
.
getParentValue
()
LOG
(
"GenerateIdFromReferenceMixin"
,
WARNING
,
"Skipping migration of %r in %r"
LOG
(
"GenerateIdFromReferenceMixin"
,
WARNING
,
"Skipping migration of %r in %r"
" %s, due to pending activities"
%
(
old_id
,
parent
.
getId
(),
parent
.
getPortalType
()))
" %s, due to pending activities"
%
(
ob_id
,
parent
.
getId
(),
parent
.
getPortalType
()))
self
.
_v_idmigration
=
False
return
ob_id
self
.
_v_idmigration
=
False
return
new_id
return
new_id
return
ob_id
return
ob_id
...
...
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