Odoo18-Base/addons/l10n_es_edi_facturae/models/res_company.py
2025-03-10 10:52:11 +07:00

10 lines
433 B
Python

from odoo import fields, models
class Company(models.Model):
_inherit = 'res.company'
l10n_es_edi_facturae_residence_type = fields.Char(string='Facturae EDI Residency Type Code', related='partner_id.l10n_es_edi_facturae_residence_type')
l10n_es_edi_facturae_certificate_id = fields.One2many(string='Facturae EDI signing certificate',
comodel_name='l10n_es_edi_facturae.certificate', inverse_name='company_id')