diff options
| author | Goffin Simon <sig@odoo.com> | 2020-11-19 17:05:33 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-11-24 12:43:37 +0000 |
| commit | e41f35786aa2b45f05e085bc7379a6a63db1aa86 (patch) | |
| tree | c17f53f5bb94d1be1bb9ae3ff01d15738c051ae5 | |
| parent | d498f899aa2ef81acbcd035896b9fcc912e4d52b (diff) | |
[FIX] l10n_de_skr03: Partner VAT Intra
Steps to reproduce the bug:
- Let's consider the current company C in Germany with a VAT number
- Let's consider a partner P in Belgium with a VAT number and fiscal position Geschäftspartner EU (mit USt-ID)
- Let's consider a product PR with weight and a 19% tax
- Make a cutomer invoice CI to P with PR
- The 19% tax will be replaced by Steuerfreie innergem. Lieferung (§4 Abs. 1b UStG)
- Post CI
- Go to the Intrastat report
Bug:
PR didn't appear in the report
As wrtote here: https://github.com/odoo/enterprise/blob/13.0/l10n_de_reports/models/partner_vat_intra.py#L21
The taxes considered in the intrastat report must be with as least one of these tags:
- l10n_de.tag_de_intracom_community_delivery
- l10n_de.tag_de_intracom_community_supplies
- l10n_de.tag_de_intracom_ABC
But Steuerfreie innergem. Lieferung (§4 Abs. 1b UStG) didn't have one of these tags
Same for Steuerfreie Ausfuhr (§4 Nr. 1a UStG)
opw:2379263
closes odoo/odoo#62241
X-original-commit: e72b3fc9b899f93b515c6c4bb8287e21133a5946
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
| -rw-r--r-- | addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml b/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml index c95fff75bf5..1d7e8c240df 100644 --- a/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml +++ b/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml @@ -277,6 +277,7 @@ 'factor_percent': 100, 'repartition_type': 'base', 'plus_report_line_ids': [ref('l10n_de.tax_report_de_tag_41')], + 'tag_ids': [ref('l10n_de.tag_de_intracom_community_delivery')], }), (0,0, { @@ -289,6 +290,7 @@ 'factor_percent': 100, 'repartition_type': 'base', 'minus_report_line_ids': [ref('l10n_de.tax_report_de_tag_41')], + 'tag_ids': [ref('l10n_de.tag_de_intracom_community_delivery')], }), (0,0, { @@ -314,6 +316,7 @@ 'factor_percent': 100, 'repartition_type': 'base', 'plus_report_line_ids': [ref('l10n_de.tax_report_de_tag_43')], + 'tag_ids': [ref('l10n_de.tag_de_intracom_community_delivery')], }), (0,0, { @@ -326,6 +329,7 @@ 'factor_percent': 100, 'repartition_type': 'base', 'minus_report_line_ids': [ref('l10n_de.tax_report_de_tag_43')], + 'tag_ids': [ref('l10n_de.tag_de_intracom_community_delivery')], }), (0,0, { |
