Skip to content

Commit

Permalink
[FIX] l10n_it_ricevute_bancarie: fix invoice name
Browse files Browse the repository at this point in the history
  • Loading branch information
GSLabIt committed May 20, 2024
1 parent 546c2d6 commit 195e548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_it_ricevute_bancarie/models/riba.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,15 @@ def _compute_line_values(self):
)
if not line.invoice_number:
line.invoice_number = str(
move_line.move_line_id.move_id.move_id.name
move_line.move_line_id.move_id.name
if move_line.move_line_id.move_id.display_name == "/"
else move_line.move_line_id.move_id.display_name
)
else:
line.invoice_number = "{}, {}".format(
line.invoice_number,
str(
move_line.move_line_id.move_id.move_id.name
move_line.move_line_id.move_id.name
if move_line.move_line_id.move_id.display_name == "/"
else move_line.move_line_id.move_id.display_name
),
Expand Down

0 comments on commit 195e548

Please sign in to comment.