mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
80 bank statement import enforce sequence (#67)
* enforce journal sequence for statement naming policy * [8.0] enforce journal sequence for statement naming policy * short headers + update view
This commit is contained in:
committed by
Stefan Rijnhart (Opener)
parent
f1900c6a33
commit
37bd21da20
14
account_bank_statement_import/models/account_journal.py
Normal file
14
account_bank_statement_import/models/account_journal.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2009-2016 Noviat
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from openerp import models, fields
|
||||
|
||||
|
||||
class account_journal(models.Model):
|
||||
_inherit = 'account.journal'
|
||||
|
||||
enforce_sequence = fields.Boolean(
|
||||
string="Enforce Sequence",
|
||||
help="If checked, the Journal Sequence will determine "
|
||||
"the statement naming policy even if the name is already "
|
||||
"set manually or by the statement import software.")
|
||||
Reference in New Issue
Block a user