0 编辑 关闭 删除 标记 samrt button invisible 编辑 关闭 删除 标记 odoo 24 六月 2022 退订 订阅 odoov15 评论 分享 2 注释 贴子评论 丢弃 odoo - 24 六月 2022 删除 转换为答案 thank you SB but problem is solved by other trickthanks for valuable support odoo - 24 六月 2022 删除 转换为答案 Great @Ra_one_1_11If possible share it here, it will be helpfull for others. 1 答案 0 odoo 24 六月 2022 最佳答案 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! 备注 分享 贴子评论 丢弃
thank you SB but problem is solved by other trick
thanks for valuable support
Great @Ra_one_1_11
If possible share it here, it will be helpfull for others.