reporting-engine/report_qweb_signer/models/res_company.py

15 lines
387 B
Python
Raw Permalink Normal View History

2022-06-29 18:39:47 +00:00
# Copyright 2015 Tecnativa - Antonio Espinosa
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class ResCompany(models.Model):
_inherit = "res.company"
report_certificate_ids = fields.One2many(
string="PDF report certificates",
comodel_name="report.certificate",
inverse_name="company_id",
)