From 2c8bac7997ecc60a4b12b1150f33bcfb9e3d6c74 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 20 Jun 2025 21:36:01 +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/models/yuthon_property.py | 1 + yuthon_property/views/yuthon_property_views.xml | 6 ++++++ .../views/inherit_yuthon_property_views.xml | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py index a25e83b24..8a52cf51f 100644 --- a/yuthon_property/models/yuthon_property.py +++ b/yuthon_property/models/yuthon_property.py @@ -6,6 +6,7 @@ from pypinyin import pinyin,lazy_pinyin class YuthonProperty(models.Model): _name = 'yuthon.property' _description = '物业管理' + _inherit = ['mail.thread.main.attachment', 'mail.activity.mixin'] _rec_name = 'name' _order = 'first_letter' diff --git a/yuthon_property/views/yuthon_property_views.xml b/yuthon_property/views/yuthon_property_views.xml index 715a65966..fb292d30b 100644 --- a/yuthon_property/views/yuthon_property_views.xml +++ b/yuthon_property/views/yuthon_property_views.xml @@ -258,6 +258,12 @@ +