why this is not valid in xml?
attrs="{'invisible': [('service_id', '=', ref('service.service_1'))]}"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
why this is not valid in xml?
attrs="{'invisible': [('service_id', '=', ref('service.service_1'))]}"
Using ref to get id is not a valid in xml. Instead of ref, you can try below code for this purpose
attrs="{'invisible': [('service_id', '=', %(service.service_1)d)]}"
Thank You!
Karan BK
Junior Odoo Developer
Tel: +353 1 886 5684 (IE) +44 121 285 5684 (UK) +91 124 634 5684 (IN)
Target Integration | CRM • ERP • Cloud
Website | LinkedIn | Twitter | Facebook | YouTube | Instagram
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
it works...
Thank you so much