Use id to track shipper
This commit is contained in:
parent
b774c84e25
commit
52d2c54389
|
@ -64,8 +64,7 @@ class Migrate(BrowserView):
|
|||
shipper_id = plone_tool.normalizeString(shipper)
|
||||
if not portal.contacts.has_key(shipper_id):
|
||||
portal.contacts.invokeFactory('themis.datatypes.contact', shipper_id, title=shipper)
|
||||
#ob.expediteur.append('contact:%s' % shipper_id)
|
||||
ob.expediteur.append(shipper)
|
||||
ob.expediteur.append('contact:%s' % shipper_id)
|
||||
|
||||
try:
|
||||
workflow_tool.doActionFor(ob, 'publish')
|
||||
|
|
Reference in New Issue