From e5ff5040dda970ac4edd765e95bc6164a525737a Mon Sep 17 00:00:00 2001 From: Ravi Gohil Date: Tue, 1 Oct 2019 15:08:56 +0000 Subject: [PATCH] [FIX] l10n_ch: fixed typo in method name closes odoo/odoo#37876 Task: 2079636 X-original-commit: 794e1b91d16cf51a5f6e6bfd237a907c3203a3bd Signed-off-by: Josse Colpaert --- addons/l10n_ch/models/account_invoice.py | 4 ++-- 1 file 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 """