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 @@
-