跳至內容
選單
此問題已被標幟
2 回覆
3556 瀏覽次數

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. 

頭像
捨棄
最佳答案

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

   

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
10月 17
10256
2
10月 21
9050
2
2月 19
6503
1
9月 18
106
0
9月 17
3995