You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
500 B

# -*- 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 AccountJournal(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.")