[FIX] keyword args are not supported by the model RPC proxies lib, switch search() call to *args long form
lp bug: https://launchpad.net/bugs/894335 fixed bzr revid: xmo@openerp.com-20111124154601-h7zqxub2n5y8z7nv
This commit is contained in:
parent
aa6b926e74
commit
86c553cdbc
|
@ -1386,7 +1386,7 @@ class Export(View):
|
|||
|
||||
context = req.session.eval_context(req.context)
|
||||
Model = req.session.model(model)
|
||||
ids = ids or Model.search(domain, context=context)
|
||||
ids = ids or Model.search(domain, 0, False, False, context)
|
||||
|
||||
field_names = map(operator.itemgetter('name'), fields)
|
||||
import_data = Model.export_data(ids, field_names, context).get('datas',[])
|
||||
|
|
Loading…
Reference in New Issue