02.02.26
This commit is contained in:
@@ -640,7 +640,7 @@ class ShipmentIn(metaclass=PoolMeta):
|
|||||||
for sh in shipments:
|
for sh in shipments:
|
||||||
sh.result = "Email not sent"
|
sh.result = "Email not sent"
|
||||||
if sh.controller:
|
if sh.controller:
|
||||||
Contact = Pool().get('party.contact.mechanism')
|
Contact = Pool().get('party.contact_mechanism')
|
||||||
contact = Contact.search(['party','=',sh.controller.id])
|
contact = Contact.search(['party','=',sh.controller.id])
|
||||||
if contact:
|
if contact:
|
||||||
# f = open("/tmp/instruction.pdf", "rb")
|
# f = open("/tmp/instruction.pdf", "rb")
|
||||||
|
|||||||
Reference in New Issue
Block a user