From d437e2a524d0383f661a4c95623c575fc4d68d4a Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 10 Mar 2025 22:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property_approval/models/property_current_approval.py | 1 + 1 file changed, 1 insertion(+) 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(