odoo/odoo#208996

Created by fw-bot
Merged at 019a627cba3ca9995e1351b7c2a6a3ca7aa6af56

Statuses:

label
odoo-dev:master-saas-18.3-coa-fp-check-ayh-434123-fw
head
ec238a223fff737c03ef572896973ea4ef5f50d1
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

[FW][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.

Forward-Port-Of: #208810