Skip to Content
Menu
This question has been flagged
1 Reply
747 Views
def ndrysho_status(self):
for rec in self:
if rec.property_id.status != 'active':
rec.statusi = 'blocked'


Avatar
Discard
Best Answer

Hi,

When you need this to get triggered ? As a compute method, or in an onchange of a variable ? or in default_get or while performing some operations ?

Thanks

Avatar
Discard