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