Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3948 Zobrazení

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
Zrušit

Did you find any answer for this?

Related Posts Odpovědi Zobrazení Aktivita
1
kvě 19
3062
2
srp 18
2892
0
bře 15
3363
0
bře 15
4442
1
dub 22
5213