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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2964
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Sep 19
|
98 | ||
|
4
Aug 16
|
6620 | ||
|
1
May 16
|
3604 | ||
|
1
Mar 16
|
3669 | ||
|
2
Mar 16
|
6266 |