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
501 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2009-2016 Noviat
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from openerp import models, fields
  5. class account_journal(models.Model):
  6. _inherit = 'account.journal'
  7. enforce_sequence = fields.Boolean(
  8. string="Enforce Sequence",
  9. help="If checked, the Journal Sequence will determine "
  10. "the statement naming policy even if the name is already "
  11. "set manually or by the statement import software.")