From 71ff14ba90cdf76b2e74542c988e100fa7ee7caa 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 (grafted from d7557a33425a2bbce37dd3f8a3eaf41d75db3ccc) --HG-- branch : 6.0 --- 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):