Am using Odoo 10. And I want to execute some code after all modules have loaded and all tables have been created.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
5087
Görünümler
odoo/modules/loading.py
there is register_hook function that might help. to see an example of it: see base/res/res_lang.py:80
# STEP 8: call _register_hook on every model
for model in env.values():
model._register_hook()
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
3
Tem 25
|
2124 | ||
|
3
May 25
|
3711 | ||
|
2
Haz 25
|
4185 | ||
|
1
Mar 23
|
2472 | ||
|
0
Haz 21
|
2421 |