diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2020-07-02 10:33:36 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-07-03 07:44:22 +0000 |
| commit | 378cde8bc49f55412ab3dfb16393c676364bb353 (patch) | |
| tree | 3d10b3ba5b230eceb2502269961b4ff4bc31e658 /addons/web/static/src/js/views/abstract_controller.js | |
| parent | 88c328bcd050e935c8fc95a152b9b140116a5676 (diff) | |
[FIX] partner_autocomplete: stop comparing apples and oranges
If no country is specified on a partner, self.country_id is
res.country() and partner_country_code contains res.country(). In the
next line the code was comparing `res.country()` with `'BE'`, raising
a warning.
closes odoo/odoo#54026
X-original-commit: ef9fc11ded5eaef81ee4d844039bf41a714599f5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/abstract_controller.js')
0 files changed, 0 insertions, 0 deletions
