Skip to content

Commit

Permalink
[FIX] l10n_ch: correct field default typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeodoo committed Apr 16, 2019
1 parent b7a39c5 commit 47ebb83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/l10n_ch/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
l10n_ch_ISR_NUMBER_LENGTH = 27
l10n_ch_ISR_NUMBER_ISSUER_LENGTH = 12


class AccountInvoice(models.Model):
_inherit = 'account.invoice'

Expand All @@ -25,7 +26,7 @@ class AccountInvoice(models.Model):

l10n_ch_isr_valid = fields.Boolean(compute='_compute_l10n_ch_isr_valid', help='Boolean value. True iff all the data required to generate the ISR are present')

l10n_ch_isr_sent = fields.Boolean(defaut=False, help="Boolean value telling whether or not the ISR corresponding to this invoice has already been printed or sent by mail.")
l10n_ch_isr_sent = fields.Boolean(default=False, help="Boolean value telling whether or not the ISR corresponding to this invoice has already been printed or sent by mail.")
l10n_ch_currency_name = fields.Char(related='currency_id.name', help="The name of this invoice's currency") #This field is used in the "invisible" condition field of the 'Print ISR' button.

@api.depends('partner_bank_id.bank_id.l10n_ch_postal_eur', 'partner_bank_id.bank_id.l10n_ch_postal_chf')
Expand Down

0 comments on commit 47ebb83

Please sign in to comment.