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
ตอบกลับ
17840
มุมมอง
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 ?
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Open form in view mode?
แก้ไขแล้ว
|
|
4
ธ.ค. 21
|
31859 | |
|
0
มี.ค. 15
|
4019 | ||
|
2
ก.ค. 20
|
6966 | ||
|
0
ก.ค. 16
|
5986 | ||
|
2
มี.ค. 15
|
11913 |