添加功能

This commit is contained in:
李鹏宇
2025-12-11 11:42:59 +08:00
parent a2675e6492
commit f88dd82933
+3 -3
View File
@@ -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()