Skip to content

Commit 3349389

Browse files
committed
[IMP] account_einvoice_generate: payment ref
Return by default the invoice payment reference
1 parent d031e3a commit 3349389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

account_einvoice_generate/models/account_move.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AccountMove(models.Model):
1111
def get_payment_identifier(self):
1212
"""This method is designed to be inherited in localization modules"""
1313
self.ensure_one()
14-
return None
14+
return self.payment_reference
1515

1616
@api.model
1717
def _get_invoice_report_names(self):

0 commit comments

Comments
 (0)