From 195e548cf8d281fa1299287719ebc78e0293baed Mon Sep 17 00:00:00 2001 From: Giovanni Date: Mon, 20 May 2024 10:35:00 +0200 Subject: [PATCH] [FIX] l10n_it_ricevute_bancarie: fix invoice name --- l10n_it_ricevute_bancarie/models/riba.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_it_ricevute_bancarie/models/riba.py b/l10n_it_ricevute_bancarie/models/riba.py index 15d5d1ad4b4f..c45a12f349db 100644 --- a/l10n_it_ricevute_bancarie/models/riba.py +++ b/l10n_it_ricevute_bancarie/models/riba.py @@ -237,7 +237,7 @@ 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 ) @@ -245,7 +245,7 @@ def _compute_line_values(self): 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 ),