Merge pull request #1 from Antiun/8.0-accont_bank_statement_import-journal-fix

[FIX] Change default by compute and between quotes in order to allow …
This commit is contained in:
Pedro M. Baeza
2015-06-24 17:18:04 +02:00

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 '