[FIX] l10n_fr: fix "Domestique France" fp for Monaco

Steps to reproduce:
- Install l10n_fr
- Switch to a French Company (i.e. FR Company)
- Create an invoice for a contact from Monaco with a VAT number
=> The default fiscal position is "Import/Export Hors Europe + DOM-TOM".
In France, for Monaco, it should be "Domestique - France".

Solution:
Create a country group with France and Monaco and set it to
"Domestique - France" fiscal position.

opw-3617761

closes odoo/odoo#146058

X-original-commit: 2515cdc65f30e29029bafeefed2c6c4b7a2b1ac1
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
This commit is contained in:
Anh Thao Pham (pta)
2023-12-13 08:24:11 +00:00
parent 2b36c8abc3
commit 3ac60430c7
4 changed files with 16 additions and 1 deletions
+5
View File
@@ -13,4 +13,9 @@
ref('base.bl'),
ref('base.nc')])]"/>
</record>
<record id="fr_and_mc" model="res.country.group">
<field name="name">France and Monaco</field>
<field name="country_ids" eval="[Command.set([ref('base.fr'), ref('base.mc')])]"/>
</record>
</odoo>
@@ -1,5 +1,5 @@
"id","sequence","name","auto_apply","vat_required","country_id","country_group_id","tax_ids/tax_src_id","tax_ids/tax_dest_id","name@fr"
"fiscal_position_template_domestic","1","Domestic - France","1","1","base.fr","","","","Domestique - France"
"fiscal_position_template_domestic","1","Domestic - France","1","","","l10n_fr.fr_and_mc","","","Domestique - France"
"fiscal_position_template_intraeub2c","2","EU private","1","","","base.europe","","","EU privé"
"fiscal_position_template_intraeub2b","3","Intra-EU B2B","1","1","","base.europe","tva_normale","tva_sale_good_intra_0","Intra-EU B2B"
"","","","","","","","tva_normale_ttc","tva_sale_good_intra_0",""
1 id sequence name auto_apply vat_required country_id country_group_id tax_ids/tax_src_id tax_ids/tax_dest_id name@fr
2 fiscal_position_template_domestic 1 Domestic - France 1 1 base.fr l10n_fr.fr_and_mc Domestique - France
3 fiscal_position_template_intraeub2c 2 EU private 1 base.europe EU privé
4 fiscal_position_template_intraeub2b 3 Intra-EU B2B 1 1 base.europe tva_normale tva_sale_good_intra_0 Intra-EU B2B
5 tva_normale_ttc tva_sale_good_intra_0
+5
View File
@@ -522,6 +522,11 @@ msgstr "Immobilisations corporelles en cours - Installations techniques matérie
msgid "France"
msgstr "France"
#. module: l10n_fr
#: model:res.country.group,name:l10n_fr.fr_and_mc
msgid "France and Monaco"
msgstr "France et Monaco"
#. module: l10n_fr
#: model_terms:account.fiscal.position,note:l10n_fr.1_fiscal_position_template_intraeub2b
#: model_terms:account.fiscal.position,note:l10n_fr.2_fiscal_position_template_intraeub2b
+5
View File
@@ -458,6 +458,11 @@ msgstr ""
msgid "France"
msgstr ""
#. module: l10n_fr
#: model:res.country.group,name:l10n_fr.fr_and_mc
msgid "France and Monaco"
msgstr ""
#. module: l10n_fr
#: model_terms:account.fiscal.position,note:l10n_fr.1_fiscal_position_template_intraeub2b
#: model_terms:account.fiscal.position,note:l10n_fr.2_fiscal_position_template_intraeub2b