Skip to content

Commit

Permalink
[FIX] l10n_fr: fix "Domestique France" fp for Monaco
Browse files Browse the repository at this point in the history
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#145793

X-original-commit: bd87dc6
Signed-off-by: William André (wan) <[email protected]>
Signed-off-by: Anh Thao Pham (pta) <[email protected]>
  • Loading branch information
kitan191 committed Dec 11, 2023
1 parent 69f2ef5 commit f1212b5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
<field name="name">Domestique - France</field>
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="auto_apply" eval="True" />
<field name="vat_required" eval="True" />
<field name="country_id" ref="base.fr"></field>
<field name="country_group_id" ref="l10n_fr.fr_and_mc"></field>
</record>
<record id="fiscal_position_template_intraeub2c" model="account.fiscal.position.template">
<field name="sequence">2</field>
Expand Down
5 changes: 5 additions & 0 deletions addons/l10n_fr/data/res_country_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
5 changes: 5 additions & 0 deletions addons/l10n_fr/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1604,6 +1604,11 @@ msgstr ""
msgid "France"
msgstr ""

#. 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:account.fiscal.position.template,note:l10n_fr.fiscal_position_template_intraeub2b
msgid "French VAT exemption according to articles 262 ter I (for products) and/or 283-2 (for services) of \"CGI\""
Expand Down
5 changes: 5 additions & 0 deletions addons/l10n_fr/i18n/fr_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ msgstr ""
msgid "Companies"
msgstr "Sociétés"

#. 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:ir.ui.menu,name:l10n_fr.account_reports_fr_statements_menu
msgid "French Statements"
Expand Down
5 changes: 5 additions & 0 deletions addons/l10n_fr/i18n/l10n_fr.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,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:account.fiscal.position.template,note:l10n_fr.fiscal_position_template_intraeub2b
msgid "French VAT exemption according to articles 262 ter I (for products) and/or 283-2 (for services) of \"CGI\""
Expand Down

0 comments on commit f1212b5

Please sign in to comment.