Skip to content

Commit

Permalink
Merge PR #359 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by thomaspaulb
  • Loading branch information
OCA-git-bot committed Oct 24, 2023
2 parents 458a6fb + 043075b commit bcc7819
Show file tree
Hide file tree
Showing 25 changed files with 1,825 additions and 0 deletions.
118 changes: 118 additions & 0 deletions l10n_nl_tax_statement_icp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
=========================
Netherlands ICP Statement
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--netherlands-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-netherlands/tree/14.0/l10n_nl_tax_statement_icp
:alt: OCA/l10n-netherlands
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-netherlands-14-0/l10n-netherlands-14-0-l10n_nl_tax_statement_icp
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/176/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the *Netherlands BTW Statement* module (BTW aangifte report), by adding the statement for the *Intra-Community transactions declaration* (ICP declaration).

The ICP declaration report is based on line *3b - Leveringen naar landen binnen de EU (omzet)* of the BTW aangifte report.
The period is also the same as the one selected in the BTW aangifte report.

This ICP declaration report includes:

* the VAT identification numbers of your customers;
* the total amount of intra-Community supplies from the Netherlands for every customer during the selected period.

**Table of contents**

.. contents::
:local:

Configuration
=============

This module makes use of the tax tags "3b" and "3b diensten".

If the default Odoo Dutch chart of accounts is installed (module ``l10n_nl``) then "3b" tag is automatically present in the database.
In this case you should add the "3b diensten" teg and set it into the tax definition.

If a non-standard chart of accounts is installed, you have to manually create the tax tags and properly set them into the tax definition.
The name of the tags must be formatted this way: "+3b (omzet)", "-3b (omzet)", "+3b diensten (omzet)", "-3b diensten (omzet)".

Usage
=====

To use this module, you need to:

#. Create a BTW Statement: a new tab *ICP Statement* will be displayed; the tab contains the lines of the ICP declaration report.
#. In tab *ICP Statement* press the Update button in order to recompute the ICP statement lines.

Printing a PDF report:

#. If you need to print the report in PDF, open a statement form and click: `Print -> NL ICP Statement`

Multicompany fiscal unit:

#. In case one single tax statement is created for companies belonging to a
fiscal unit, the sum of the intra-Community supplies and services of all
the companies will be written down in the totals of that tax statement.
#. After the fiscal unit tax statement is created and posted, for each of the
companies belonging to a fiscal unit that trades intra-Community, create
its own ICP report separately.

Known issues / Roadmap
======================

* Add checks to avoid errors in the report, e.g. no VAT code, tax-code not matching fiscal position, etc..

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-netherlands/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-netherlands/issues/new?body=module:%20l10n_nl_tax_statement_icp%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Onestein

Contributors
~~~~~~~~~~~~

* Andrea Stirpe <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-netherlands <https://github.com/OCA/l10n-netherlands/tree/14.0/l10n_nl_tax_statement_icp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_nl_tax_statement_icp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import report
19 changes: 19 additions & 0 deletions l10n_nl_tax_statement_icp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2018-2020 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Netherlands ICP Statement",
"version": "15.0.1.0.0",
"category": "Localization",
"license": "AGPL-3",
"author": "Onestein, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-netherlands",
"depends": ["l10n_nl_tax_statement", "report_xlsx"],
"data": [
"security/ir.model.access.csv",
"views/l10n_nl_vat_statement_view.xml",
"views/report_tax_statement.xml",
"report/report_tax_statement.xml",
],
"installable": True,
}
195 changes: 195 additions & 0 deletions l10n_nl_tax_statement_icp/i18n/l10n_nl_tax_statement_icp.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_nl_tax_statement_icp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "(product + service)"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Amount Product"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__amount_products
msgid "Amount Products"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Amount Service"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__amount_services
msgid "Amount Services"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__country_code
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Country Code"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__create_uid
msgid "Created by"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__create_date
msgid "Created on"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__currency_id
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Currency"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement__display_name
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__format_amount_products
msgid "Format Amount Products"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__format_amount_services
msgid "Format Amount Services"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "ICP"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement__icp_line_ids
msgid "ICP Lines"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.view_l10n_nl_vat_report_form
msgid "ICP Statement"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.view_l10n_nl_vat_report_form
msgid "ICP Statement lines"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement__id
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__id
msgid "ID"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model,name:l10n_nl_tax_statement_icp.model_l10n_nl_vat_statement_icp_line
msgid "Intra-Community transactions (ICP) line"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement____last_update
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__write_uid
msgid "Last Updated by"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__write_date
msgid "Last Updated on"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.actions.report,name:l10n_nl_tax_statement_icp.action_report_tax_statement_icp
msgid "NL ICP Statement"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model,name:l10n_nl_tax_statement_icp.model_l10n_nl_vat_statement
msgid "Netherlands Vat Statement"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__partner_id
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Partner"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.view_l10n_nl_vat_report_form
msgid "Press the Update button in order to recompute the lines!"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__statement_id
msgid "Statement"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement__icp_total
msgid "Total ICP amount"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Total amount"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,help:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement__icp_total
msgid "Total amount in currency of the statement."
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.view_l10n_nl_vat_report_form
msgid "Update"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_icp_line__vat
#: model_terms:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "VAT"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: code:addons/l10n_nl_tax_statement_icp/models/l10n_nl_vat_statement_icp_line.py:0
#, python-format
msgid ""
"Wrong country code (%s) for ICP report. Please check your configuration."
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: code:addons/l10n_nl_tax_statement_icp/models/l10n_nl_vat_statement_icp_line.py:0
#, python-format
msgid "Wrong country code (NL) for ICP report."
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: code:addons/l10n_nl_tax_statement_icp/models/l10n_nl_vat_statement.py:0
#, python-format
msgid "You cannot modify a final statement!"
msgstr ""
Loading

0 comments on commit bcc7819

Please sign in to comment.