forked from Mapan/odoo17e
12 lines
346 B
Python
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",
|
|
)
|