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

This commit is contained in:
Antonio Espinosa
2015-06-24 11:30:21 +02:00
parent 87466ae978
commit f028947355

View File

@@ -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 '