diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-06-22 16:42:29 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-06-25 09:15:12 +0200 |
| commit | 786c044a39a3bd472af18db73e21ef32eb20b021 (patch) | |
| tree | 727783251a9681cd40136c9722a2d3d6447699c0 /addons/web_editor/static/src/js/editor | |
| parent | 8e9936ba04e32207e5b1d494419c3c25b1351d5b (diff) | |
[FIX] pos_restaurant: don't crash when printer have no url set
Have a printer in a pos.config that doesn't have a url set
Open the pos
Before this commit, there was a JS traceback, since we tried to call
string operation on undefined.
After this commit, we avoid the traceback with a behavior that *looks like* the v9.0's
i.e. we don't care if the url actually means something, we put a message in the console though
OPW 1858063
closes #25442
Diffstat (limited to 'addons/web_editor/static/src/js/editor')
0 files changed, 0 insertions, 0 deletions
