Browse Source

[FIX] Change default by compute and between quotes in order to allow inheritance

pull/30/head
Antonio Espinosa 9 years ago
parent
commit
f028947355
  1. 2
      account_bank_statement_import/account_bank_statement_import.py

2
account_bank_statement_import/account_bank_statement_import.py

@ -40,7 +40,7 @@ class AccountBankStatementImport(models.TransientModel):
'importing. It has be be manually chosen for statement formats which '
'doesn\'t allow automatic journal detection (QIF for example).')
hide_journal_field = fields.Boolean(
'Hide the journal field in the view', default=_get_hide_journal_field)
'Hide the journal field in the view', compute='_get_hide_journal_field')
data_file = fields.Binary(
'Bank Statement File', required=True,
help='Get you bank statements in electronic format from your bank '

Loading…
Cancel
Save