Skip to content

[16.0][MIG] l10n_eu_oss_oca: Migration to 16.0 #348

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

Merged
merged 9 commits into from
May 22, 2023
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
133 changes: 133 additions & 0 deletions l10n_eu_oss_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
===============
L10n EU OSS OCA
===============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Faccount--fiscal--rule-lightgray.png?logo=github
:target: https://github.com/OCA/account-fiscal-rule/tree/16.0/l10n_eu_oss_oca
:alt: OCA/account-fiscal-rule
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-fiscal-rule-15-0/account-fiscal-rule-15-0-l10n_eu_oss_oca
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/93/16.0
:alt: Try me on Runbot

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

This module has been created to help with the tax mapping according to the EU One-Stop-Shop law, that concerns many companies that carry out distance sales.

EU taxes have been checked in <https://ec.europa.eu/taxation_customs/tedb/vatSearchForm.html>

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

#. Go to *Invoicing > Configuration > Settings > Taxes*.
#. You can see that user can choose *Add new taxes* for applying EU taxes regarding OSS.
#. Select the company where you want to add these new taxes.
#. Select the EU countries where you can send your goods.
#. Select if you want these new taxes to be configured as included in price.
#. Select the general, reduced, super reduced and second super reduced taxes according your accounting plan.
#. Remember that you shouldn't configure unexisting taxes for your accounting plan.
#. Click *Create Fiscal Positions and Taxes* button to continue.
#. According your configuration, new taxes and fiscal positions will be created.

**NOTE**: You should use account_fiscal_position_partner_type module configuration for making the workflow easier.

Usage
=====

After the corresponding configuration of this module:

#. Create a new partner and assign an EU country (different from the one set in your company).
#. Check that this new partner has been configured as a *Customer* in *Fiscal Position Type* field.
#. Create a new product and set its taxes.
#. Create a new Quotation for the customer and add the new product in a sale order line.
#. User will see that taxes will be set according the delivery address country taxation.
#. You can create directly an invoice without starting from a SO and the pertinent taxes will be applied as well.

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

#. This module doesn't take into account if one or more products
have different type of taxes in the destination contry.

#. There are some countries (for example Spain) that have different taxes
depending on the region (Canary islands).
These use cases haven't been considered.

#. There are some countries (for example Cyprus) that have
uncommon reduced taxes, depending on the typology of the sold product.
In Cyprus, it happens with *Supply of goods and services
of a kind normally intended for use in agricultural production
but excluding capital goods such as machinery or buildings*
where an 8% of VAT has to be applied instead of the common reduced type.
These use cases haven't been considered.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-fiscal-rule/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/account-fiscal-rule/issues/new?body=module:%20l10n_eu_oss_oca%0Aversion:%2016.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
~~~~~~~

* Sygel Technology

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

* `Sygel <https://www.sygel.es>`_:

* Harald Panten
* Valentin Vinagre

* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza

* `Factor Libre <https://factorlibre.com>`_:

* Luis J. Salvatierra

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/account-fiscal-rule <https://github.com/OCA/account-fiscal-rule/tree/16.0/l10n_eu_oss_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions l10n_eu_oss_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2021 Valentin Vinagre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
from . import wizard
22 changes: 22 additions & 0 deletions l10n_eu_oss_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2021 Valentín Vinagre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "L10n EU OSS OCA",
"version": "16.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-fiscal-rule",
"author": "Sygel Technology," "Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"development_status": "Production/Stable",
"depends": ["account", "account_fiscal_position_partner_type"],
"data": [
"security/ir.model.access.csv",
"data/oss.tax.rate.csv",
"wizard/l10n_eu_oss_wizard.xml",
"views/res_config_settings.xml",
"views/account_fiscal_position_views.xml",
],
}
28 changes: 28 additions & 0 deletions l10n_eu_oss_oca/data/oss.tax.rate.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
id,oss_country_id:id,general_rate,reduced_rate,superreduced_rate,second_superreduced_rate
oss_eu_rate_at,base.at,20,13,10,0
oss_eu_rate_be,base.be,21,12,6,0
oss_eu_rate_bg,base.bg,20,9,0,0
oss_eu_rate_hr,base.hr,25,13,5,0
oss_eu_rate_cy,base.cy,19,9,5,0
oss_eu_rate_cz,base.cz,21,15,10,0
oss_eu_rate_dk,base.dk,25,0,0,0
oss_eu_rate_ee,base.ee,20,9,0,0
oss_eu_rate_fi,base.fi,24,14,10,0
oss_eu_rate_fr,base.fr,20,10,5.5,2.1
oss_eu_rate_de,base.de,19,7,0,0
oss_eu_rate_gr,base.gr,24,13,6,0
oss_eu_rate_hu,base.hu,27,18,5,0
oss_eu_rate_ie,base.ie,23,13.5,9,4.8
oss_eu_rate_it,base.it,22,10,5,4
oss_eu_rate_lv,base.lv,21,12,5,0
oss_eu_rate_lt,base.lt,21,9,5,0
oss_eu_rate_lu,base.lu,17,14,8,3
oss_eu_rate_mt,base.mt,18,7,5,0
oss_eu_rate_nl,base.nl,21,9,0,0
oss_eu_rate_pl,base.pl,23,8,5,0
oss_eu_rate_pt,base.pt,23,13,6,0
oss_eu_rate_ro,base.ro,19,9,5,0
oss_eu_rate_sk,base.sk,20,10,0,0
oss_eu_rate_si,base.si,22,9.5,5,0
oss_eu_rate_es,base.es,21,10,4,0
oss_eu_rate_se,base.se,25,12,6,0
Loading