Skip to content

Commit

Permalink
Fix bug when try to prepare a raise text from payment.id.
Browse files Browse the repository at this point in the history
  • Loading branch information
bernatnan committed Nov 3, 2024
1 parent 546eec5 commit fb7d7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def draft(cls, invoices):
raise UserError(gettext('account_invoice_posted2draft'
'.msg_invoice_in_payment',
invoice=invoice.rec_name,
payments=", ".join([p.id for p in payments])))
payments=", ".join([str(p.id) for p in payments])))
return super().draft(invoices)

0 comments on commit fb7d7e8

Please sign in to comment.