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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
6e48b97e
Commit
6e48b97e
authored
May 14, 2015
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gen_id_from_reference: fix log warning report
parent
a9be9c18
Changes
1
Show 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 @
6e48b97e
...
@@ -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