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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
4236
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
wrz 19
|
98 | ||
|
4
sie 16
|
8455 | ||
|
1
maj 16
|
5065 | ||
|
1
mar 16
|
5089 | ||
|
2
mar 16
|
7338 |