I was trying to trigger an action on load of a form view, actually I wanted to do some requests when I land on the form view, and those requests would fire automatically on load of the form view.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
17883
查看
fields_view_get is triggered when a form is loaded. You can put in it your code to do your requests. I hope this will help you.
pls check this
I'm having the same problem : on the load of the page, I want to get some informations from the database. And so call a javascript function when my page is loading. Is there a way to do that ?
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
4
12月 21
|
31904 | ||
|
0
3月 15
|
4044 | ||
|
2
7月 20
|
7027 | ||
|
0
7月 16
|
6032 | ||
|
2
3月 15
|
11956 |