diff options
| author | Hiral Bhavsar <hbh@odoo.com> | 2019-03-19 06:14:40 +0000 |
|---|---|---|
| committer | Ravi Gohil <rgo@odoo.com> | 2020-03-24 11:39:39 +0000 |
| commit | c7d40de3a77dea28af2dfaff55643040ed247fee (patch) | |
| tree | ead1f9d8325239b1ead6d79a99bb5dcb1ac558ef /addons/l10n_be | |
| parent | 2bacc392763d4828adce47e4e6eef29e9ae55928 (diff) | |
[IMP] l10n_xx: auto apply fiscal positions
Canada(l10n_ca): Apply fiscal positions automatically based on partner's state.
EU nations: Apply fiscal positions automatically for national or EU/Non EU partners.
closes odoo/odoo#48250
Task: 1952975
Closes: #32126
X-original-commit: 15e0026bdeaefd7a915718781bf3f6ee0389365e
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_be')
| -rw-r--r-- | addons/l10n_be/data/fiscal_templates_data.xml | 21 | ||||
| -rw-r--r-- | addons/l10n_be/i18n_extra/l10n_be.pot | 5 | ||||
| -rw-r--r-- | addons/l10n_be/i18n_extra/nl.po | 5 |
3 files changed, 30 insertions, 1 deletions
diff --git a/addons/l10n_be/data/fiscal_templates_data.xml b/addons/l10n_be/data/fiscal_templates_data.xml index 0ba76da33da..3c286752dd8 100644 --- a/addons/l10n_be/data/fiscal_templates_data.xml +++ b/addons/l10n_be/data/fiscal_templates_data.xml @@ -3,22 +3,41 @@ <!-- Fiscal Position Templates --> <record id="fiscal_position_template_1" model="account.fiscal.position.template"> + <field name="sequence">1</field> <field name="name">Régime National</field> <field name="chart_template_id" ref="l10nbe_chart_template"/> + <field name="auto_apply" eval="True"/> + <field name="vat_required" eval="True"/> + <field name="country_id" ref="base.be"/> </record> - + + <record id="fiscal_position_template_5" model="account.fiscal.position.template"> + <field name="sequence">2</field> + <field name="name">EU privé</field> + <field name="chart_template_id" ref="l10nbe_chart_template"/> + <field name="auto_apply" eval="True"/> + <field name="country_group_id" ref="base.europe"/> + </record> + <record id="fiscal_position_template_2" model="account.fiscal.position.template"> + <field name="sequence">4</field> <field name="name">Régime Extra-Communautaire</field> <field name="chart_template_id" ref="l10nbe_chart_template"/> + <field name="auto_apply" eval="True"/> </record> <record id="fiscal_position_template_3" model="account.fiscal.position.template"> + <field name="sequence">3</field> <field name="name">Régime Intra-Communautaire</field> <field name="chart_template_id" ref="l10nbe_chart_template"/> + <field name="auto_apply" eval="True"/> + <field name="vat_required" eval="True"/> + <field name="country_group_id" ref="base.europe"/> </record> <record id="fiscal_position_template_4" model="account.fiscal.position.template"> <field name="name">Régime Cocontractant</field> + <field name="sequence">5</field> <field name="chart_template_id" ref="l10nbe_chart_template"/> </record> diff --git a/addons/l10n_be/i18n_extra/l10n_be.pot b/addons/l10n_be/i18n_extra/l10n_be.pot index 5949274f2c7..fdf2febeda9 100644 --- a/addons/l10n_be/i18n_extra/l10n_be.pot +++ b/addons/l10n_be/i18n_extra/l10n_be.pot @@ -1429,6 +1429,11 @@ msgid "Réductions de valeur sur stocks" msgstr "" #. module: l10n_be +#: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_5 +msgid "EU privé" +msgstr "" + +#. module: l10n_be #: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_4 msgid "Régime Cocontractant" msgstr "" diff --git a/addons/l10n_be/i18n_extra/nl.po b/addons/l10n_be/i18n_extra/nl.po index 44a32e80437..ec8947c1b36 100644 --- a/addons/l10n_be/i18n_extra/nl.po +++ b/addons/l10n_be/i18n_extra/nl.po @@ -1430,6 +1430,11 @@ msgid "Réductions de valeur sur stocks" msgstr "Waardeverminderingen op voorraden" #. module: l10n_be +#: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_5 +msgid "EU privé" +msgstr "EU privé" + +#. module: l10n_be #: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_4 msgid "Régime Cocontractant" msgstr "Medecontractant" |
