Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][MIG] l10n_nl_tax_statement_icp #217

Merged
merged 6 commits into from
May 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions l10n_nl_tax_statement_icp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
=========================
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/12.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-12-0/l10n-netherlands-12-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/12.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
=============

To configure this module, you need to:

#. Follow the configuration steps as described in *l10n_nl_tax_statement* and set the tag *3b omzet* needed for this report.

Usage
=====

To use this module, you need to:

#. Create a BTW Statement.
#. Post the 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`

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:%2012.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 <a.stirpe@onestein.nl>

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/12.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.
1 change: 1 addition & 0 deletions l10n_nl_tax_statement_icp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions l10n_nl_tax_statement_icp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2018 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
'name': 'Netherlands ICP Statement',
'version': '12.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',
],
'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,
}
208 changes: 208 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,208 @@
# 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 11.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: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: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: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: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: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_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: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: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: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_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_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:ir.ui.view,arch_db:l10n_nl_tax_statement_icp.report_tax_statement_icp
msgid "Partner"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model: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_tag_3b_omzet
msgid "Tag 3B Omzet"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: model:ir.model.fields,field_description:l10n_nl_tax_statement_icp.field_l10n_nl_vat_statement_tag_3b_omzet_d
msgid "Tag 3B Omzet D"
msgstr ""

#. module: l10n_nl_tax_statement_icp
#: code:addons/l10n_nl_tax_statement_icp/models/l10n_nl_vat_statement.py:115
#, python-format
msgid "Tag 3b omzet not configured for this Company! Check the NL BTW Tags Configuration."
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: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: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: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:61
#, 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:56
#, 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:192
#, python-format
msgid "You cannot modify a final statement!"
msgstr ""

2 changes: 2 additions & 0 deletions l10n_nl_tax_statement_icp/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import l10n_nl_vat_statement
from . import l10n_nl_vat_statement_icp_line
Loading