Skip to Content
Menú
This question has been flagged
4519 Vistes

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
Avatar
Descartar

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

Related Posts Respostes Vistes Activitat
1
de maig 19
3165
2
d’ag. 18
2999
0
de juny 16
4039
0
de març 15
3443
1
d’abr. 22
5274