From 71589c6cf719176ab667f48cac40fe88708e3fb8 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: Tue, 28 Oct 2025 11:50:45 +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/property_management_list.py | 4 ---- .../views/inherit_yuthon_property_views.xml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/yuthon_property/models/property_management_list.py b/yuthon_property/models/property_management_list.py index 796862305..9fdf73724 100644 --- a/yuthon_property/models/property_management_list.py +++ b/yuthon_property/models/property_management_list.py @@ -22,10 +22,6 @@ class PropertyManagementList(models.Model): for record in self: record.admin_id = record.property_ids[0].admin_id - def push_management(self): - rec = self.env['property.management.list'].search([('is_push', '=', False)]) - rec.is_push = True - def get_no_read_count(self): return self.search_count([('is_push', '=', False)]) diff --git a/yuthon_property_approval/views/inherit_yuthon_property_views.xml b/yuthon_property_approval/views/inherit_yuthon_property_views.xml index 7bdc54b4c..159e3f57a 100644 --- a/yuthon_property_approval/views/inherit_yuthon_property_views.xml +++ b/yuthon_property_approval/views/inherit_yuthon_property_views.xml @@ -341,7 +341,7 @@
-