summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-09 11:25:26 +0100
committerDenis Ledoux <dle@odoo.com>2016-02-09 11:30:44 +0100
commit3266d43399669484af990312d7f2699808928ebc (patch)
treeebc55791c4c4e0f148a109c0b02b095c496bc953 /addons/mail/static/src/xml/thread.xml
parent5763c32a6dd558f65864c661a7c3d068f012df27 (diff)
[FIX] marketing_campaign: pass context as kwargs in overriden `search`
When converting a new API call to an old API call, the context is expected to be found within the kwargs argument. If not, it is seen as a regular argument. See `get_context_split` in `openerp/api.py` As it was not the case in the overidden method `search` in `marketing_campaign.py`, if a module overriden the method `search` of `ir.actions.report.xml` using the new API, the context wasn't treated as such correctly, and it leaded to wrong number of arguments passed. I take the opportunity to pass all arguments that are passed as kwargs in the base `search` as kwargs as well, to be clean. opw-668471
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions