@api.onchange('active')
def active_partner(self):
if not self.active:
for child in self.child_ids:
child.write({'active': False })
return {'value' : {}, }
Nenhum comentário:
Postar um comentário