From 70a0a417873f9af8c973816518eec264b344c182 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Mon, 2 Feb 2026 15:26:05 +0100 Subject: [PATCH] 02.02.26 --- modules/purchase_trade/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")