diff options
| author | Raphael Collet <rco@odoo.com> | 2017-09-25 10:46:37 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2017-09-29 16:14:57 +0200 |
| commit | a16c44210ad143af5328a11ee198176f08ab664c (patch) | |
| tree | 903f43aacb00be4adcb356c395ae8437988328be /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5875a253ddd28ac3187ee29dc2855248f4b24cba (diff) | |
[FIX] models: skip an SQL query when its result is known to be empty
In method `search`, simply make an abstract interpretation of the domain to
determine whether it is equivalent to false. In that case, skip the query.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
