Browse Source

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 …
pull/30/head
Pedro M. Baeza 10 years ago
parent
commit
1eaf54b143
  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