changeset d7557a33425a in modules/account_cash_rounding:default
details:
https://hg.tryton.org/modules/account_cash_rounding?cmd=changeset&node=d7557a33425a
description:
Use the amount_second_currency from the line and not from the invoice
issue10916
review389191002
diffstat:
account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7f0ed644517a -r d7557a33425a account.py
--- a/account.py Sun Jul 04 17:54:45 2021 +0200
+++ b/account.py Sun Oct 31 10:29:23 2021 +0100
@@ -156,7 +156,7 @@
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):