Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3553 Widoki

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': ['|','|','|','&amp;',('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. 

Awatar
Odrzuć
Najlepsza odpowiedź

Hello Mian Kamran,

Please try this,

<button name="close_ticket" type="object" string="Close Ticket" attrs="{'invisible': ['|','|','|','&amp;','|',('states','in',('waiting_approval','closed','draft')),('categ_id','not in',('support','payment')),('manager_appr','=', False),('payment_done','=', True),('creating_user','=', False),('dep_user','=',False)]}" /> 

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
paź 17
10256
2
paź 21
9048
2
lut 19
6500
1
wrz 18
106
0
wrz 17
3994