From b2fb1e9c4cbbe09f1081728feade04264a917eb3 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Wed, 18 Feb 2026 13:32:48 +0100 Subject: [PATCH] 18.02.26 --- modules/account_stock_anglo_saxon/invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/account_stock_anglo_saxon/invoice.py b/modules/account_stock_anglo_saxon/invoice.py index 01eb200..460cde3 100755 --- a/modules/account_stock_anglo_saxon/invoice.py +++ b/modules/account_stock_anglo_saxon/invoice.py @@ -87,8 +87,8 @@ class InvoiceLine(metaclass=PoolMeta): if move_line.second_currency: move_line.amount_second_currency = amount else: - move_line.debit = Decimal(0) - move_line.credit = amount_converted + move_line.debit = amount_converted + move_line.credit = Decimal(0) move_line.account = self.product.account_stock_out_used if move_line.second_currency: move_line.amount_second_currency = -amount