I have override Create method in multiple module, but i have a scenario where 1st override create method should always call before 2nd override method if both override method is in different module.
In my case 2nd override create method is calling before 1st override create method.
I want 2nd override create method should always call after 1st override method.
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ờ
1
Trả lời
4209
Lượt xem
set the sequence in manifest file. it will affect the order of execution. and you should always follow that one. tricky if somebody else going to do something later. better don't use it. i suggest you extend core function/module, refer to that function/module as your new base
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 9 19
|
98 | ||
|
4
thg 8 16
|
8423 | ||
|
1
thg 5 16
|
5040 | ||
|
1
thg 3 16
|
5056 | ||
|
2
thg 3 16
|
7313 |