odoo/odoo#208810

Created by Accounting, Habib Ayob (ayh)
Merged at ec64ac49ab533015f1dec7ceb2013da20b837cac

Statuses:

label
odoo-dev:saas-18.3-coa-fp-check-ayh
head
49826f930c8c06e75f94f43d12785fe4febb469f
merged
1 year ago by Accounting, Olivier Colson (oco)
odoo/odoo
saas-18.3 #208810
saas-18.4
19.0
saas-19.1
saas-19.2
saas-19.3
master #208996

[FIX] account, l10n_fr: fix fiscal positions and check

Since tax fields might filter on domestic taxes (product taxes), we must ensure that a domestic fp is properly set in all l10ns.
l10n_fr did not have a domestic fiscal position because the domestic fp applied to the country group France and Monaco.
To resolve this, the domestic fiscal position is split into 2 (one for France and one for Monaco) and all taxes are assigned to both fiscal positions.

To avoid this scenario in new localisations, a check is added to the all_l10n standalone test.