summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-04-16 15:09:47 +0000
committerJulien Mougenot <jum@odoo.com>2020-04-17 14:21:02 +0000
commit7ace5a986a042ced675fb821bbf527d2d69ca614 (patch)
tree1dbd94412506f49a3373973f6662f25462873c47 /doc
parentb3149d84a0253fad63ae00880d9e832e7bfe9057 (diff)
[FIX] web,lunch: separate search panel domain
Before this commit, the SearchPanel widget was given a single unified domain coming from the view/controller. The issue was that some modules injected additional leaves in this domain and there was no way to remove them/separate them from the original view/controller domain. Now, another paramater (the `viewDomain`) is given to the SearchPanel, containing the distinct domain related to the view. The Lunch module has been adapted to give the `location` domain through this new key. Note that some tests steps had to be inverted since the method retreiving the domain of the view/controller is asynchronous (needed by Lunch to give time to the model to be loaded). It mainly concerns the RPC order which does not matter in this case. Task 2239706 closes odoo/odoo#49720 X-original-commit: e895e553899933be14c8abfd8c676b44a7f534d8 Signed-off-by: Julien Mougenot (jum) <jum@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions