summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-03-30 12:14:28 +0200
committerNicolas Lempereur <nle@odoo.com>2015-05-04 12:00:22 +0200
commitdd88f3c82f8be67fc2224e7107a5511675873718 (patch)
tree7f28c1d9398e9f1b1cfc828536f3bf1ca6d1905d /addons/analytic_user_function/analytic_user_function_view.xml
parent1288536c03aaa22e6dbec8fae83919b817ea6a90 (diff)
[FIX] search: searching fields.property not set
When searching if a many2one property field is not set, there may be less results since only the ones with a reference set to NULL are returned. We should also get those not in the table. This commit change this case so instead of returning ['id', 'in', {matching non-set ids}], the ['id', 'not in', {matching set ids}] is returned. e.g: if (1, 3, 8) are set, (5, 9) are not set. ['id', 'not in', (1, 3, 8)] would be returned instead of ['id', 'in', (5, 9)] which might not select all non-set property fields. closes #6044 opw-631057
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions