diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-07-17 04:57:49 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-07-17 04:57:54 +0000 |
| commit | 956204fe105919c5346e4eca95fa24b7e10ef9be (patch) | |
| tree | c587487c5424837fc62bd5141f1cc428043b85c9 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 1e5fbb8e5bf0e0458d83a399b2b59d03a601e86a (diff) | |
[FIX] sale: do not crash on _compute_currency_rate if any currency is not defined yet
The _get_conversion_rate method crashes if any of its parameters is undefined.
Therefore triggering the compute of the currency_rate early* causes it to crash.
(* e.g. by putting it in the view with studio)
opw 2035604
closes odoo/odoo#34928
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
