[FIX] Repair callbacks
bzr revid: fme@openerp.com-20110614090050-fj59w1ntc2utq4eu
This commit is contained in:
@@ -430,9 +430,9 @@ class DataSet(openerpweb.Controller):
|
||||
return Model.unlink(ids)
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def call(self, req, model, method, args):
|
||||
def call(self, req, model, method, ids, args):
|
||||
m = req.session.model(model)
|
||||
r = getattr(m, method)(*args)
|
||||
r = getattr(m, method)(ids, *args)
|
||||
return {'result': r}
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
|
||||
Reference in New Issue
Block a user