summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Gohil <rgo@odoo.com>2019-10-01 15:08:56 +0000
committerfw-bot <otis@odoo.com>2019-10-03 11:17:58 +0000
commite5ff5040dda970ac4edd765e95bc6164a525737a (patch)
tree048a301cd14e8b10bdd6fe45c2e2f17152bfc70f
parent6bc944f5892e37575eca5a452d1601e378ce010c (diff)
[FIX] l10n_ch: fixed typo in method name
closes odoo/odoo#37876 Task: 2079636 X-original-commit: 794e1b91d16cf51a5f6e6bfd237a907c3203a3bd Signed-off-by: Josse Colpaert <jco@openerp.com>
-rw-r--r--addons/l10n_ch/models/account_invoice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_ch/models/account_invoice.py b/addons/l10n_ch/models/account_invoice.py
index 37f5bf3ed4a..d93ae53e040 100644
--- a/addons/l10n_ch/models/account_invoice.py
+++ b/addons/l10n_ch/models/account_invoice.py
@@ -192,14 +192,14 @@ class AccountMove(models.Model):
self.filtered(lambda inv: not inv.l10n_ch_isr_sent).write({'l10n_ch_isr_sent': True})
return super(AccountMove, self.with_context(mail_post_autofollow=True)).message_post(**kwargs)
- def _get_reference_ch_invoice(self):
+ def _get_invoice_reference_ch_invoice(self):
""" This sets ISR reference number which is generated based on customer's `Bank Account` and set it as
`Payment Reference` of the invoice when invoice's journal is using Switzerland's communication standard
"""
self.ensure_one()
return self.l10n_ch_isr_number_spaced
- def _get_reference_ch_partner(self):
+ def _get_invoice_reference_ch_partner(self):
""" This sets ISR reference number which is generated based on customer's `Bank Account` and set it as
`Payment Reference` of the invoice when invoice's journal is using Switzerland's communication standard
"""