diff options
| author | Adrien Widart <awt@odoo.com> | 2021-02-19 08:45:09 +0000 |
|---|---|---|
| committer | Adrien Widart <awt@odoo.com> | 2021-02-19 12:14:53 +0000 |
| commit | 49a57dd5b34b66733564b31ed861fe9bfcbda2b3 (patch) | |
| tree | a407b935a9f2f87d8ee38499c2fb1d07c2f4b8dc /addons/web_editor/static/src | |
| parent | 363bc68a66f49490540e6bee62f054b95e091304 (diff) | |
[FIX] account: set main attachment only for posted invoices
When printing a draft invoice, it raises an error.
The error comes from fix #65320: the latter registers the printed
invoice as main attachment, but this needs to be done only with posted
invoices.
OPW-2427247
closes odoo/odoo#66526
X-original-commit: 192e128e56a6e1a79d26f577ee006f230df1eb84
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: Adrien Widart <adwid@users.noreply.github.com>
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
