Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3551 Zobrazení

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. 

Avatar
Zrušit
Nejlepší odpověď

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

   

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
říj 17
10256
2
říj 21
9048
2
úno 19
6500
1
zář 18
106
0
zář 17
3994