添加功能
This commit is contained in:
@@ -482,7 +482,8 @@ class PropertyLeaseContract(models.Model):
|
||||
}
|
||||
|
||||
def action_relevance_property(self):
|
||||
for record in self:
|
||||
contract_ids = self.env["property.lease.contract"].browse(self._context.get('active_ids', self._context.get('active_id')))
|
||||
for record in contract_ids:
|
||||
property_id = self.env['yuthon.property'].search([('name', '=', record.name)])
|
||||
if property_id:
|
||||
management_list = []
|
||||
|
||||
Reference in New Issue
Block a user