Add the rounding line only if created and fill the second currency
issue10916 review389191002
This commit is contained in:
1 parent
88c21c2fea
commit
e265f854ee
1 file changed
+3
-3
+3
-3
@@ -194,7 +194,7 @@ class Invoice(metaclass=PoolMeta):
|
||||
if total_currency:
|
||||
line.amount_second_currency = total_currency
|
||||
line.second_currency = second_currency
|
||||
lines = list(move.lines)
|
||||
lines.append(line)
|
||||
move.lines = lines
|
||||
lines = list(move.lines)
|
||||
lines.append(line)
|
||||
move.lines = lines
|
||||
return move
|
||||
Reference in new issue
Block a user