1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_ec_edi_pos/models/pos_payment_method.py
2024-12-10 09:04:09 +07:00

12 lines
346 B
Python

from odoo import fields, models
class PoSPaymentMethod(models.Model):
_inherit = 'pos.payment.method'
country_code = fields.Char(related='company_id.country_id.code', depends=['company_id.country_id'])
l10n_ec_sri_payment_id = fields.Many2one(
comodel_name="l10n_ec.sri.payment",
string="SRI Payment Method",
)