From 23d9d88492fdbda433b3e65f5dd0a60107f0c777 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Thu, 22 Jan 2026 13:55:09 +0100 Subject: [PATCH] 22.01.26 --- modules/purchase_trade/lot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/purchase_trade/lot.py b/modules/purchase_trade/lot.py index c35d076..d0a2fa6 100755 --- a/modules/purchase_trade/lot.py +++ b/modules/purchase_trade/lot.py @@ -3385,7 +3385,7 @@ class ContractDetail(ModelView): if lqt and lqt.lot_p and getattr(lqt.lot_p.line.purchase, 'crop', None): return lqt.lot_p.line.purchase.crop.id if lqt and lqt.lot_s and getattr(lqt.lot_s.sale_line.sale, 'crop', None): - return lqt.lot_s.line.sale.crop.id + return lqt.lot_s.sale_line.sale.crop.id @classmethod def default_currency(cls):