تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2604 أدوات العرض

in sales module

الصورة الرمزية
إهمال
أفضل إجابة

Hi HeGo22, 

If you want to hide button based on field's value(If it has value then invisible the button if not then it should show that button) you can add the attribute on that button like below

Please find code in comment. 

I hope this will be helpful.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

الصورة الرمزية
إهمال

Example:
<button name="create_request_pricing" String"Create request Pricing" attrs="{'invisible': [('field_name', '!=', False)]}""

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 24
1983
2
يناير 23
1574
2
سبتمبر 25
387
3
سبتمبر 25
480
3
سبتمبر 25
547