diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-06-26 10:47:29 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-06-26 16:01:59 +0000 |
| commit | 8f2d79a1172a2a740487cf6b6aa35ddaecd036ca (patch) | |
| tree | a2e2f32774d15acfd5e29aa4f1b9fb7bfd39c97c /addons/mail/static/src/js/basic_view.js | |
| parent | 6c6c3d70906922d1b6e3abbf7745b5691110fcbb (diff) | |
[FIX] website_crm_partner_assign: filtering if no country
1. Install the demo data
2. Activate GeoIP and set your IP in Belgium [1]
3. As a non-connected user, go to '/partners'
=> No result found: expected since we want to filter the partners
available in the user's country
4. Click on 'All Countries'
=> All partners are displayed
5. Click on 'Platinum' or search for 'azure'
=> No result found
The last step is not expected, it should filter partners from the 'All
Countries' list.
It occurs because the 'All Countries' filter is not kept when chosing a
Level or searching.
We use `keep_query` for the level filtering and set the `country_all`
`input` field for searching.
[1] IP can be set manually in
https://github.com/odoo/odoo/blob/bbb45e3412a5653d78aacc92903e95d1353ed60a/addons/http_routing/geoipresolver.py#L42
opw-2277343
closes odoo/odoo#53761
X-original-commit: ece98773a18cf0f83a3d2e44397e7e08a3a538a9
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/basic_view.js')
0 files changed, 0 insertions, 0 deletions
