Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

samrt button invisible

形象
odoo
2 注释
形象
丢弃
形象
odoo
-

thank you SB but problem is solved by other trick

thanks for valuable support

形象
odoo
-

Great @Ra_one_1_11
If possible share it here, it will be helpfull for others.

1 答案
0
形象
odoo
最佳答案

Hi @Ra_one_1_11,

you can add attrs attribute to your button defination in XML. 
attrs="{'invisible':[('binding_model_id','!=',False)]}" 
Note: Replace the binding_model_id with your res.partner select field.

Hope this helps!

形象
丢弃