跳至内容
菜单
此问题已终结
4055 查看

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
形象
丢弃

Did you find any answer for this?

相关帖文 回复 查看 活动
1
5月 19
3193
2
8月 18
3024
0
3月 15
3466
0
3月 15
4554
1
4月 22
5307