Use the amount_second_currency from the line and not from the invoice

issue10916
review389191002
This commit is contained in:
Cédric Krier committed 2021-10-31 10:29:23 +01:00
1 parent 49699c909d
commit 8f8eb6d8d1
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):