From 16df1c99a619880db8c566ebe1a7a9dd0d282945 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Tue, 3 Feb 2026 14:03:46 +0100 Subject: [PATCH] 03.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 44d08b0..8e87369 100755 --- a/modules/purchase_trade/stock.py +++ b/modules/purchase_trade/stock.py @@ -721,7 +721,7 @@ class ShipmentIn(metaclass=PoolMeta): { "filename": attachments[0].name, "content": content_b64, - "content_type": attachments[0].mimetype or "application/pdf" + "content_type": "application/pdf" } ]