I have following scenario
(a OR b OR c OR d) AND (e OR f)
I have built the following one:
<button name="close_ticket" type="object" string="Close Ticket" attrs="{'invisible': ['|','|','|','&',('states','in',('waiting_approval','closed','draft')),('categ_id','not in',('support','payment')),('manager_appr','=', False),('payment_done','=', True),'|',('creating_user','=', False),('dep_user','=',False)]}" />
Its not working, as per me understandind, I am not applying AND at correct position.
Have you seen https://www.odoo.com/forum/help-1/question/domain-notation-using-multiple-and-nested-and-2170