[FIX] account_edi_ubl_cii: import customer when uploading an invoice
Previously, it was only possible to upload a bill, so the partner_id was read
from the vendor in the imported file. Now, it is also possible to upload a
file to create an invoice, so we need to be able to decode the customer in
the imported file.
opw-3072989
closes odoo/odoo#106765
Signed-off-by:
Laurent Smet <las@odoo.com>
Showing
- addons/account_edi_ubl_cii/i18n/account_edi_ubl_cii.pot 20 additions, 10 deletionsaddons/account_edi_ubl_cii/i18n/account_edi_ubl_cii.pot
- addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py 2 additions, 2 deletions...account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py
- addons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py 8 additions, 7 deletionsaddons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py
- addons/l10n_account_edi_ubl_cii_tests/tests/common.py 38 additions, 2 deletionsaddons/l10n_account_edi_ubl_cii_tests/tests/common.py
- addons/l10n_account_edi_ubl_cii_tests/tests/test_xml_cii_fr.py 3 additions, 0 deletions...s/l10n_account_edi_ubl_cii_tests/tests/test_xml_cii_fr.py
- addons/l10n_account_edi_ubl_cii_tests/tests/test_xml_ubl_be.py 3 additions, 0 deletions...s/l10n_account_edi_ubl_cii_tests/tests/test_xml_ubl_be.py
Loading