summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-06-20 10:53:37 +0200
committerDenis Ledoux <dle@odoo.com>2016-06-20 10:53:37 +0200
commit1061cb5696b8e68170d23cba1d60dfebb64e1733 (patch)
tree48d2fb6b6ad2e684a2ca0060776e196865be50c0 /addons/web/static/src/js/framework/session_instance.js
parent39a7ce44b02d1fd77ca23076c0e084342b31c747 (diff)
[FIX] expression: search on *2many fields with domain
Some one2many fields have a domain specified in their definition e.g. `mail.thread`.`message_follower_ids` `hr.applicant`.`attachment_ids` `project.task`.`attachment_ids` which is required for the one2many field to make sense. For the mail thread, it does not make sense to include the followers of other models with the same `res_id`. This domain must be took into account when doing a 'like' search on the one2many field e.g. Followers contains demo Otherwise it will include threads from other model opw-680825
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions