This commit is contained in:
2026-02-18 13:32:48 +01:00
parent cac84abbef
commit b2fb1e9c4c

View File

@@ -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