diff --git a/account.py b/account.py index d7654b29f1..c7d55e1584 100644 --- a/account.py +++ b/account.py @@ -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