From 8f8eb6d8d1c46b2f4c079bb7085597e1b4c245ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 31 Oct 2021 10:29:23 +0100 Subject: [PATCH] Use the amount_second_currency from the line and not from the invoice issue10916 review389191002 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index 102bc5f185..511427e300 100644 --- a/account.py +++ b/account.py @@ -156,7 +156,7 @@ class Invoice(metaclass=PoolMeta): currency = line.second_currency if currency: line.amount_second_currency = currency.cash_round( - self.amount_second_currency) + line.amount_second_currency) return line def get_move(self):