Hi everyone !
I have field :
<field onchange="changelasach(doorchecklouvre)" name="doorchecklouvre"></field> .
<field invisible="1" name="doorlouvresizes"></field>
function onchange :
def changelasach(self, cr, uid, doorchecklouvre, context=None):
_status = 1
if doorchecklouvre:
_status = 0
return {'doorlouvresizes': [('invisible', '=', _status)]}
I want to the checkbox is checked, the field with name ="doorlouvresizes" is show ,back hide
can you help me ?
thanks hungnt
Can you explain your question correctly so that we can understand and answer.
I have a checkbox and a textbox,When checkbox is checked ,the textbox is show and reverse it hide