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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
5103
查看
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()
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
7月 25
|
2125 | ||
|
3
5月 25
|
3718 | ||
|
2
6月 25
|
4192 | ||
|
1
3月 23
|
2479 | ||
|
0
6月 21
|
2424 |