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

How I can inherit openerp web controller, for example,

from addons import web main = web.controllers.main class DataSet_inherit(main.DataSet): _cp_path = "/web/dataset"

@openerpweb.jsonrequest
def call_button(self, req, model, method, args, domain_id=None, context_id=None):
    print "Inherit"
    return 2
อวตาร
ละทิ้ง

See this: http://help.openerp.com/question/49114/why-does-web-controller-inheritance-does-not-work/?answer=49248#post-id-49248

Related Posts ตอบกลับ มุมมอง กิจกรรม
Web Controller replacement is ignored แก้ไขแล้ว
1
พ.ค. 19
3191
2
ส.ค. 18
3024
0
มิ.ย. 16
4055
0
มี.ค. 15
3465
1
เม.ย. 22
5306