do not create a secondary object if there's no mailnumber
This commit is contained in:
parent
263a1593f6
commit
f9f3a3c1c0
|
@ -157,6 +157,10 @@ class Migrate(BrowserView):
|
|||
# this document was not completed, do not create a secondary object
|
||||
second_object_typename = None
|
||||
|
||||
if not ob.mailnumber:
|
||||
# if there's no mailnumber, do not create a secondary object
|
||||
second_object_typename = None
|
||||
|
||||
if second_object_typename:
|
||||
# XXX: this is a temporary location, no decision has been taken yet
|
||||
# on the location of those documents
|
||||
|
|
Reference in New Issue