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.

15 lines
497 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2015-2017 ACSONE SA/NV (<http://acsone.eu>)
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from odoo import models, fields
  5. class AccountJournal(models.Model):
  6. _inherit = 'account.journal'
  7. pos_payment_globalization = fields.Boolean()
  8. pos_payment_globalization_account = fields.Many2one(
  9. comodel_name='account.account')
  10. pos_payment_globalization_journal = fields.Many2one(
  11. comodel_name='account.journal')