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

  1. # Copyright 2020 ForgeFlow, S.L.
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
  3. from odoo import fields, models
  4. class AccountJournal(models.Model):
  5. _inherit = 'account.journal'
  6. pos_control_ending_balance = fields.Boolean(
  7. 'Control ending balance in POS')
  8. pos_move_reason_id = fields.Many2one(
  9. string='Default reason POS adjustments',
  10. comodel_name='pos.move.reason',
  11. )