This commit is contained in:
2026-02-02 15:26:05 +01:00
parent 318f9e5564
commit 70a0a41787

View File

@@ -640,7 +640,7 @@ class ShipmentIn(metaclass=PoolMeta):
for sh in shipments:
sh.result = "Email not sent"
if sh.controller:
Contact = Pool().get('party.contact.mechanism')
Contact = Pool().get('party.contact_mechanism')
contact = Contact.search(['party','=',sh.controller.id])
if contact:
# f = open("/tmp/instruction.pdf", "rb")