Files
odoo-usability/pos_usability/models/pos_payment_method.py
2021-11-26 18:57:02 +03:00

13 lines
382 B
Python

# Copyright 2021 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class PosPaymentMethod(models.Model):
_inherit = "pos.payment.method"
_check_company_auto = True
cash_journal_id = fields.Many2one(check_company=True)