diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-01-21 18:26:28 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-01-21 18:33:36 +0100 |
| commit | dcfd94cbf526e0168f51087259434cedb2c4c061 (patch) | |
| tree | d475cb284a7bb0faa249683e2ba324de9a49e37e /addons/web/static/src | |
| parent | 2c99ddc6127376f55e33d3ba9745226d60e03717 (diff) | |
[FIX] orm: Revert 332154444df450489ea01522bf1360c0446f91fb && acd7d84da474eae3d64e0c5c6369c0dfb1deb395
These revs. introduced an API change in the _name_search method.
Indeed, the 'operator' attribute used to have 'ilike' as default value.
This cannot be changed, as every modules overriding this method
overrided it using the signature with operator='ilike'
For instance, _name_search method of addons/base/ir/ir_model.py
expects having 'ilike' as operator.
As it was not anymore the case,
it leaded to a crash when performing a name_search call on the model ir.model,
like when adding a new custom field to a model, from the web client.
opw-626161
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
