Ir al contenido
Menú
Se marcó esta pregunta
3955 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

Did you find any answer for this?

Publicaciones relacionadas Respuestas Vistas Actividad
1
may 19
3069
2
ago 18
2896
0
mar 15
3371
0
mar 15
4448
1
abr 22
5215