Skip to content
Snippets Groups Projects
Commit adbf4dc2 authored by Julien Van Roy's avatar Julien Van Roy
Browse files

[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: default avatarNicolas Viseur (vin) <vin@odoo.com>
parent 7d7960df
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment