-
- Downloads
[FIX] l10n_fr_fec,[l10n_]account_edi_ubl_cii[_tests]: fix factur-x tests and...
[FIX] l10n_fr_fec,[l10n_]account_edi_ubl_cii[_tests]: fix factur-x tests and use `default_move_type` key Fix broken tests due to 2 different commits: * https://github.com/odoo/odoo/commit/51609d19177c080835116f0ad9c04c33536d926a is adding the `ram:DefinedTradeContact` tag and should thus be added in the test files * https://github.com/odoo/odoo/commit/de55cfa7098fc1fa07398044cb977f20d213f6da is using the context key `default_move_type` to import any ubl_cii document (and being able to distinguish between invoice and vendor bills). This key should therefore be added in the tests as well. We essentially backport the missing code from https://github.com/odoo/odoo/commit/5f78893ad6cf199ce0da72335ce65835d9cd37d9 which was forgotten in 14.0. Also fix a broken test in l10n_fr_fec due to the renaming of the taxes: https://github.com/odoo/odoo/commit/85a634c7527f20b56b15c2da90a37dfd637da63b closes odoo/odoo#104792 Signed-off-by:Nicolas Viseur (vin) <vin@odoo.com>
Showing
- addons/account_edi/models/account_edi_format.py 6 additions, 2 deletionsaddons/account_edi/models/account_edi_format.py
- addons/account_edi_ubl_cii/models/account_edi_common.py 1 addition, 1 deletionaddons/account_edi_ubl_cii/models/account_edi_common.py
- 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 3 additions, 3 deletionsaddons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py
- addons/l10n_account_edi_ubl_cii_tests/tests/common.py 2 additions, 2 deletionsaddons/l10n_account_edi_ubl_cii_tests/tests/common.py
- addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_invoice.xml 16 additions, 1 deletion..._tests/tests/test_files/from_odoo/facturx_out_invoice.xml
- addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_refund.xml 16 additions, 1 deletion...i_tests/tests/test_files/from_odoo/facturx_out_refund.xml
- addons/l10n_fr_fec/tests/test_wizard.py 1 addition, 1 deletionaddons/l10n_fr_fec/tests/test_wizard.py
Loading
Please register or sign in to comment