Hello Community
i'm trying to change product route depending on some condition but i'm having hard time figuring out how to check an many2many_checkbox with python code ,is there any way to do so ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello Community
i'm trying to change product route depending on some condition but i'm having hard time figuring out how to check an many2many_checkbox with python code ,is there any way to do so ?
Use the special operator [(6,0, IDS)], where IDS is a list of m2m values you would like to enter. E.g. [1,2,9]
Basically, filling m2m doesn't depend upon a used widget
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ý
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.