Skip to content

Commit

Permalink
[IMP] account_einvoice_generate: payment ref
Browse files Browse the repository at this point in the history
Return by default the invoice payment reference
  • Loading branch information
jbaudoux committed Dec 17, 2023
1 parent d031e3a commit 3349389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_einvoice_generate/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AccountMove(models.Model):
def get_payment_identifier(self):
"""This method is designed to be inherited in localization modules"""
self.ensure_one()
return None
return self.payment_reference

Check warning on line 14 in account_einvoice_generate/models/account_move.py

View check run for this annotation

Codecov / codecov/patch

account_einvoice_generate/models/account_move.py#L14

Added line #L14 was not covered by tests

@api.model
def _get_invoice_report_names(self):
Expand Down

0 comments on commit 3349389

Please sign in to comment.