from odoo import models class ContractProfile(models.Model): _name = 'contract.profile' _inherit = ["contract.profile", "docx.template.mixin"]