diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-01-09 06:18:18 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-01-09 08:42:04 +0000 |
| commit | 4754717eb5f0970dd0fa2f940a47850c2d524d4e (patch) | |
| tree | f88fbfd6c128b3ce992c3944ee6f80f11da87915 /addons/stock/static/src/js/inventory_validate_button_controller.js | |
| parent | d3b2ce528c73fcacd9f588c8438ddf32d8ccfb51 (diff) | |
[FIX] account: fix traceback when sending invoice without template
Create an invoice, click on send and print without an associated
template.
Traceback will occur because the lang parameter is set correctly only
from a template. Adding a fallback in case there is no template setting
opw-2168623
closes odoo/odoo#43008
X-original-commit: 8fd8fdcf0fa6fb26a1797ad2b40fcaf34d23eee2
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/stock/static/src/js/inventory_validate_button_controller.js')
0 files changed, 0 insertions, 0 deletions
