diff --git a/modules/purchase_trade/stock.py b/modules/purchase_trade/stock.py index 8702198..c5d4f6b 100755 --- a/modules/purchase_trade/stock.py +++ b/modules/purchase_trade/stock.py @@ -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")