Hello everyone, I am new to odoo and trying to improve my odoo system, i have create a new many2one files in orderline. Now i would like to set values for this custom files with the specific coditions depend on the products. what is the right way to sovle this kind of problem. Thank for watching.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
You need to override this method, it called when the product in the SO line changed. The vals dict hold the new values of the other fields ... for more information about the onchange methods .
Hope this could helps ...
Thanks for your help, i will focus on the onchange method. Have a nice day friend:)
Hello, what should i do to override the method? create a module or just add the funcion to the custom module? and need i change any thing in the xml fiel?
Hi, you don't need to change the xml file. the clean methodology is to create a new custom module to override the method ...
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
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 | |
---|---|---|---|---|
|
0
thg 3 16
|
2682 | ||
|
2
thg 2 25
|
5793 | ||
|
1
thg 12 24
|
5965 | ||
|
1
thg 12 24
|
1376 | ||
|
3
thg 8 24
|
6843 |