Hi all,
Il would like to create a button (on/off) on the product that react like :
Hide the product line on the template of quotation, sales order and bills if the button is flaged
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi all,
Il would like to create a button (on/off) on the product that react like :
Hide the product line on the template of quotation, sales order and bills if the button is flaged
HI Aravelli,
Instead of the button, you can go with Boolean field.
Please add boolean field in the product template.
Now add the below domain on the product field of your product line on the template of quotation, sales order and bills fields.
domain = "[('your_boolean_field', '=', False)]"
This will filtered your flagged products when you select it in the product lines product field.
Hope it will help you.
Thanks, it sounds great ;)
I now have to find where (in studio I suppose) i can fill in this domain syntax
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Identifier number of quotations
Đã xử lý
|
|
1
thg 8 23
|
2528 | |
|
1
thg 11 22
|
2464 | ||
|
4
thg 10 21
|
6986 | ||
|
2
thg 8 19
|
34904 | ||
|
1
thg 7 15
|
12807 |