diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-16 09:32:38 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-01-17 15:38:11 +0000 |
| commit | c6dff462035feb4d949a646c05ae4e2e8092c224 (patch) | |
| tree | f82f6f63575f0aafb158bdb14436f4c61f745c40 /addons/mrp_subcontracting/models | |
| parent | 7253c339567b1e0b62b8f1e6b0d314af1fe2f4e3 (diff) | |
[FIX] account_facturx: fix too much restrictive XML bill upload
Issue
- Install Accounting
- Upload XML bill (tried with a MX one)
No decoder was found.
Cause
The _create_invoice_from_xml method gets decoders from overrides of
_get_xml_decoders. There is only 2 overrides: Belgium & Italy.
All others countries are not handled. So, this error blocks
the user.
Solution
Log the error instead raising it. (Reproduce V12 behavior)
OPW-2170516
closes odoo/odoo#43503
X-original-commit: 592d2a296e4aa6a0c96bb1e56119965cd066ea0f
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mrp_subcontracting/models')
0 files changed, 0 insertions, 0 deletions
