diff options
| author | Adrien Widart <awt@odoo.com> | 2021-02-23 14:34:47 +0000 |
|---|---|---|
| committer | Adrien Widart <awt@odoo.com> | 2021-02-24 11:28:55 +0000 |
| commit | 00b573c5b14dcf50ab5ed1612b1490bb75a6f6b1 (patch) | |
| tree | 57f5a43db9ab64bf4f4f374dad162f5aa47cb5db /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 911aec8465a4a796297a465e96b3033d1c415628 (diff) | |
[FIX] account: register attachment only if it exists
When printing an invoice, the server tries to register one attachment as
main one (see #65320). However, if there is not any attachment, this
will raise an error.
OPW-2465995
closes odoo/odoo#66747
X-original-commit: 03d2e457b69b07f315187cd7f7299be4c838e177
Signed-off-by: Adrien Widart <adwid@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
