diff --git a/yuthon_property_approval/models/property_current_approval.py b/yuthon_property_approval/models/property_current_approval.py index 03557c2a3..81f01cf6c 100644 --- a/yuthon_property_approval/models/property_current_approval.py +++ b/yuthon_property_approval/models/property_current_approval.py @@ -7,6 +7,7 @@ from odoo import models, fields, api, exceptions, _ class PropertyCurrentApproval(models.Model): _name = 'property.current.approval' _description = '租聘合同审批' + _inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin'] code = fields.Char(string="编号", default=lambda self: self.env['ir.sequence'].next_by_code(