__init__.py 368 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import api, SUPERUSER_ID
  4. from . import models
  5. from . import wizard
  6. def create_check_sequence_on_bank_journals(cr, registry):
  7. env = api.Environment(cr, SUPERUSER_ID, {})
  8. env['account.journal'].search([('type', '=', 'bank')])._create_check_sequence()