@@ -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
|
||||
Reference in New Issue
Block a user