From 224d3ec40ed6c215d69d70717dbac14d845759b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 20 Mar 2026 15:15:37 +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_maintain/models/property_device_repair.py | 1 + yuthon_maintain/models/property_report_repair.py | 1 + 2 files changed, 2 insertions(+) diff --git a/yuthon_maintain/models/property_device_repair.py b/yuthon_maintain/models/property_device_repair.py index 44514a058..ec69bbb97 100644 --- a/yuthon_maintain/models/property_device_repair.py +++ b/yuthon_maintain/models/property_device_repair.py @@ -8,6 +8,7 @@ from odoo.exceptions import UserError, ValidationError class PropertyDeviceRelief(models.Model): _name = 'property.device.repair' _description = '报事报修' + _inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin'] name = fields.Char(string='标题', compute='_compute_name', store=True) code = fields.Char(string="报修编号", diff --git a/yuthon_maintain/models/property_report_repair.py b/yuthon_maintain/models/property_report_repair.py index b51dfce9b..f38bc52f5 100644 --- a/yuthon_maintain/models/property_report_repair.py +++ b/yuthon_maintain/models/property_report_repair.py @@ -8,6 +8,7 @@ from odoo.exceptions import UserError class PropertyRentRelief(models.Model): _name = 'property.report.repair' _description = '报事报修(物业)' + _inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin'] name = fields.Char(string='标题', compute='_compute_name', store=True) code = fields.Char(string="报修编号",