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:
Luc De Meyer
2017-02-28 18:44:06 +01:00
committed by Stefan Rijnhart (Opener)
parent f1900c6a33
commit 37bd21da20
6 changed files with 53 additions and 2 deletions

View 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.")