Skip to content

Commit

Permalink
[FIX][l10n_it_fatturapa_out] fix case the invois is a credit not
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoopenf committed Mar 12, 2024
1 parent 212b864 commit 854c8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_it_fatturapa_out/wizard/efattura.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def format_price(line, sign=1, original_currency=False):
res = fpa_to_eur(res, line)

price = sign * res
if line.move_id.move_type == 'out_refund' and price > 0:
if line.move_id.move_type == "out_refund" and price > 0:
price = price * -1

# XXX arrotondamento?
Expand Down

0 comments on commit 854c8c1

Please sign in to comment.