diff options
| author | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-04-02 12:38:56 +0000 |
|---|---|---|
| committer | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-04-09 10:14:02 +0000 |
| commit | bd91f1bc1a9d8eab20847ef95c08bfd6ed225d11 (patch) | |
| tree | 93b55ae540abeda2609c1deee0e35be87f2f42da /addons/l10n_ar/data/res_partner_data.xml | |
| parent | 530c5a6412198c1eab1f0314bbd18d0496614478 (diff) | |
[FIX] account_edi_ubl: remove wrong move creation when importing xml
The move was created before its type was determined and the type was ignored. This could cause an issue when this method was called directly if 'default_move_type' was not set in the context (the move would therefore be an entry).
Thankfully, this shadowed another bug: when determining the type of the invoice, the context was ignored, and therefore if the file was imported as an invoice, the type determined was 'in_invoice' instead of 'out_invoice', this didn't cause any problem since the type was ignored. This commit fixes that also.
closes odoo/odoo#68702
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_ar/data/res_partner_data.xml')
0 files changed, 0 insertions, 0 deletions
