diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-04-28 10:57:31 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-04-28 13:07:20 +0000 |
| commit | feb830e9f7530084eba4301c04a8e14eea92b143 (patch) | |
| tree | f506efc14f0886fbc1027dbdc83569b97b53f9aa /addons/web/static/src/js/core | |
| parent | f731cc3de3384dc0807aa37c5a1710701c23b3fa (diff) | |
[FIX] l10n_fr_pos_cert: traceback if company don't have country
- Install PoS and "l10n_fr_pos_cert";
- Erase the country in the current company;
- Open a PoS session;
- Click on any product.
Before this commit, a JavaScript traceback was raised: TypeError: Cannot read property
'code' of null.
Now, an error message is raise, that informs the user that the company don't have country
setted.
opw-2241993
closes odoo/odoo#50320
X-original-commit: 5ed4b0cb54a20756e44c492cb5a67ff7d40f452c
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions
