Use the amount_second_currency from the line and not from the invoice

issue10916
review389191002
(grafted from d7557a33425a2bbce37dd3f8a3eaf41d75db3ccc)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-10-31 10:29:23 +01:00
1 parent 91f50cf622
commit 71ff14ba90
1 file changed
+1 -1
+1 -1
View File
@@ -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):