Hello Community
i have a one Boolean field. and i have two mamy2one fields and this are depends on this Boolean field. i want to uncheck the checkbox(Boolean field) when I'm click on the default form view save button. how to do this if anyone know this solution please let me know.
see my code
.py file
def create(self, cr, uid, vals, context=None):
self.is_admin = False
res_id = super(CrmLead, self).create(cr, uid, vals, context=context)
return res_id
.xml file
we don't need to use this function in a xml file because create() is default function.
Thanks in Advanced