Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5292 มุมมอง

How inhrited a openerp web controller, for example, i override a controller /web/dataset/call_button

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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