Ir al contenido
Menú
Se marcó esta pregunta
4534 Vistas

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
may 19
3170
2
ago 18
3004
0
jun 16
4044
0
mar 15
3445
1
abr 22
5286