From f028947355e8b7024b29732d99ad136e185d8460 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Wed, 24 Jun 2015 11:30:21 +0200 Subject: [PATCH] [FIX] Change default by compute and between quotes in order to allow inheritance --- account_bank_statement_import/account_bank_statement_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_bank_statement_import/account_bank_statement_import.py b/account_bank_statement_import/account_bank_statement_import.py index 9678a2b..3b1c79e 100644 --- a/account_bank_statement_import/account_bank_statement_import.py +++ b/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 '