diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py index d5bd46e87..5ea4b6d03 100644 --- a/yuthon_property/models/yuthon_property.py +++ b/yuthon_property/models/yuthon_property.py @@ -136,9 +136,9 @@ class YuthonProperty(models.Model): def update_is_new(self): - property_ids = self.env["yuthon.property"].browse( - self._context.get('active_ids', self._context.get('active_id'))) - # property_ids = self.env['yuthon.property'].search([]) + # property_ids = self.env["yuthon.property"].browse( + # self._context.get('active_ids', self._context.get('active_id'))) + property_ids = self.env['yuthon.property'].search([]) for property_id in property_ids: property_id.compute_is_new()