How inhrited a openerp web controller, for example, i override a controller /web/dataset/call_button
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
5292
มุมมอง
Just import the original controller module class and create a new class
that inherit from the original controller class and override the method
with the new route and if you don't need to do anything else in the
method override just call super
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Web Controller replacement is ignored
แก้ไขแล้ว
|
|
1
พ.ค. 19
|
3171 | |
|
2
ส.ค. 18
|
3004 | ||
|
0
มิ.ย. 16
|
4046 | ||
|
0
มี.ค. 15
|
4537 | ||
|
0
มี.ค. 15
|
3448 |