hi ,
How to make readonly button based on condition?
I have two Button
Button 1
Button 2
and my condition is if database filed text is "po" then allow Button 1 and filed text "os" then Button 2.
How to apply condition on button based on Database field.
hi Temur,
I already did this step attrs="{'readonly': [('field_name','=','po')]}".
it's not working dear.