From c9248a9c778517587a2a5f18e3cc2d30a1881acc Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Tue, 14 Jan 2025 20:56:54 +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_rent_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property/models/property_rent_list.py b/yuthon_property/models/property_rent_list.py index 533546a9e..8a0052855 100644 --- a/yuthon_property/models/property_rent_list.py +++ b/yuthon_property/models/property_rent_list.py @@ -49,7 +49,7 @@ class PropertyRentList(models.Model): self.is_push = True def batch_push(self): - rent_ids = self.env["property.meter.reading"].browse( + rent_ids = self.env["property.rent.list"].browse( self._context.get('active_ids', self._context.get('active_id'))) for record in rent_ids: record.is_push = True \ No newline at end of file