From 9a66952f50ee4a855a949c50153b3a464816381f Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Fri, 30 Jan 2026 08:07:41 +0100 Subject: [PATCH] 30.01.26 --- modules/account_invoice/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_invoice/invoice.py b/modules/account_invoice/invoice.py index f79d867..1d709cf 100755 --- a/modules/account_invoice/invoice.py +++ b/modules/account_invoice/invoice.py @@ -2032,7 +2032,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin, InvoiceReportMixin): logger.info("LOT_TO_PROCESS:%s",lot) logger.info("FEE_TO_PROCESS:%s",gl[0].fee) if (gl[0].fee and not gl[0].product.landed_cost): - diff = gl[0].fee - gl[0].fee.get_non_cog(lot) + diff = gl[0].fee.amount - gl[0].fee.get_non_cog(lot) account_move = gl[0].fee._get_account_move_fee(lot,'in',diff) Move.save([account_move]) if (lot and not gl[0].fee) or (gl[0].fee and gl[0].product.landed_cost):