Skip to content

Commit

Permalink
[FIX]account_invoice_fiscal_position_update: fix error when changing …
Browse files Browse the repository at this point in the history
…fiscal position with a line without product and description
  • Loading branch information
moitabenfdz committed Dec 23, 2024
1 parent 9da5a97 commit 4fc78da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ def _onchange_fiscal_position_id_account_invoice_fiscal_position_invoice(self):
"to the new Fiscal Position because they don't have a "
"Product:\n - %s\nYou should update the Account and the "
"Taxes of these invoice lines manually."
) % ("\n- ".join(lines_without_product.mapped("name")))
) % ("\n- ".join([str(k.name) for k in lines_without_product]))
return res

0 comments on commit 4fc78da

Please sign in to comment.