Skip to content

Commit

Permalink
[MIG] l10n_it_reverse_charge: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoRubi committed May 7, 2019
1 parent c779ab0 commit 775fc92
Show file tree
Hide file tree
Showing 18 changed files with 1,016 additions and 247 deletions.
229 changes: 162 additions & 67 deletions l10n_it_reverse_charge/README.rst
Original file line number Diff line number Diff line change
@@ -1,137 +1,232 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
==========================
ITA - Inversione contabile
==========================

==================
Reverse Charge IVA
==================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_reverse_charge
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_reverse_charge
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/122/12.0
:alt: Try me on Runbot

Module to handle reverse charge IVA on supplier invoices...
|badge1| |badge2| |badge3| |badge4| |badge5|

Il modulo permette di automatizzare le registrazioni contabili derivate
dalle fatture fornitori intra UE ed extra UE mediante il reverse charge IVA.
Inoltre è automatizzata la procedura di annullamento e riapertura della fattura
fornitore.
**Italiano**

E' anche possibile utilizzare la modalità "con autofattura fornitore aggiuntiva".
Questo tipicamente è usato per i fornitori extra UE, con lo scopo di mostrare,
nel registro IVA acquisti, una fattura intestata alla propria azienda,
che verrà poi totalmente riconciliata con l'autofattura attiva, sempre intestata alla
propria azienda
Modulo per gestire l'inversione contabile (reverse charge) nelle fatture fornitore.

**NOTA**: al momento è gestito solo il metodo **Autofattura** e non quello
**Integrazione IVA**.
Il modulo permette di automatizzare le registrazioni contabili derivate dalle fatture fornitori intra UE ed extra UE mediante l'inversione contabile IVA.
Inoltre è automatizzata la procedura di annullamento e riapertura della fattura fornitore.

È inoltre possibile utilizzare la modalità "con autofattura fornitore aggiuntiva".
Questa modalità è usata tipicamente per i fornitori extra UE per mostrare, nel registro IVA acquisti, una fattura intestata alla propria azienda (autofattura passiva).
L'autofattura passiva verrà poi totalmente riconciliata con l'autofattura attiva, anch'essa intestata alla propria azienda.

**English**

Module to handle reverse charge IVA in vendor bills.

The module allows you to automate the accounting entries derived from invoices of intra-EU and extra-EU suppliers through the VAT reverse charge.
Furthermore, the vendor bill cancellation and reopening procedure is automated.

It is also possible to use the "additional vendor self billing" mode.
This mode is typically used for non-EU suppliers to show, in the purchases VAT journal, a vendor bill addressed to your own company (self-bill).
The self-bill will then be completely reconciled with the self-invoice, which is also addressed to your own company.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:
**Italiano**

Creare l'imposta **22% intra UE** Vendita:
Creare l'imposta **22% intra UE** - Vendite:

.. figure:: /l10n_it_reverse_charge/static/description/tax_22_v_i_ue.png
:alt: 22% intra UE Vendita
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_v_i_ue.png
:alt: 22% intra UE - Vendite
:width: 600 px

Creare l'imposta **22% intra UE** Acquisti:
Creare l'imposta **22% intra UE** - Acquisti:

.. figure:: /l10n_it_reverse_charge/static/description/tax_22_a_i_ue.png
:alt: 22% intra UE Acqisti
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_a_i_ue.png
:alt: 22% intra UE - Acquisti
:width: 600 px

Creare l'imposta **22% extra UE** Vendita:
Creare l'imposta **22% extra UE** - Vendite:

.. figure:: /l10n_it_reverse_charge/static/description/tax_22_v_e_ue.png
:alt: 22% extra UE Vendita
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_v_e_ue.png
:alt: 22% extra UE - Vendite
:width: 600 px

Creare l'imposta **22% extra UE** Acquisti:
Creare l'imposta **22% extra UE** - Acquisti:

.. figure:: /l10n_it_reverse_charge/static/description/tax_22_a_e_ue.png
:alt: 22% extra UE Acqisti
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_a_e_ue.png
:alt: 22% extra UE - Acquisti
:width: 600 px

Creare il tipo reverse charge **Intra UE (autofattura)**:
Creare il conto 'Transitorio autofatturazione':

.. figure:: /l10n_it_reverse_charge/static/description/rc_selfinvoice.png
:alt: reverse charge con Autofattura
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/temp_account_auto_inv.png
:alt: conto transitorio Autofattura
:width: 600 px

Il sezionale autofattura deve essere di tipo 'vendita'
Il 'Registro pagamento autofattura' deve essere configurato con il conto 'Transitorio autofatturazione' appena creato:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/registro_riconciliazione.png
:alt: Registro pagamento autofattura
:width: 600 px

Creare il tipo reverse charge **Extra-EU (autofattura)** :
Modificare il tipo inversione contabile **Intra-UE (autofattura)**:

.. figure:: /l10n_it_reverse_charge/static/description/rc_selfinvoice_extra.png
:alt: reverse charge con Autofattura
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/rc_selfinvoice.png
:alt: inversione contabile con Autofattura
:width: 600 px

Il 'Sezionale autofattura passiva' deve essere di tipo 'acquisto'
Il registro autofattura deve essere di tipo 'Vendita'.

Il 'Conto transitorio autofattura' va configurato come segue:
Modificare il tipo inversione contabile **Extra-UE (autofattura)**:

.. figure:: /l10n_it_reverse_charge/static/description/temp_account_auto_inv.png
:alt: conto transitorio Autofattura
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/rc_selfinvoice_extra.png
:alt: inversione contabile con Autofattura
:width: 600 px

Il 'Sezionale pagamento autofattura' deve essere configurato con il 'Conto transitorio autofattura':
Il 'Registro autofattura passiva' deve essere di tipo 'Acquisto'.

.. figure:: /l10n_it_reverse_charge/static/description/sezionale_riconciliazione.png
:alt: Sezionale pagamento autofattura
:width: 600 px

Nella posizione fiscale, impostare il tipo reverse charge
Nella posizione fiscale, impostare il tipo inversione contabile:

.. figure:: /l10n_it_reverse_charge/static/description/fiscal_pos_intra.png
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/fiscal_pos_intra.png
:alt: Impostazione posizioni fiscali Intra CEE
:width: 600 px

.. figure:: /l10n_it_reverse_charge/static/description/fiscal_pos_extra.png
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/fiscal_pos_extra.png
:alt: Impostazione posizioni fiscali Extra CEE
:width: 600 px

**English**

Create the tax **22% intra EU** - Sale:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_v_i_ue.png
:alt: 22% intra UE - Sale
:width: 600 px

Create the tax **22% intra EU** - Purchase:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_a_i_ue.png
:alt: 22% intra UE - Purchase
:width: 600 px

Create the tax **22% extra EU** - Sale:

Usage
=====
.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_v_e_ue.png
:alt: 22% extra UE - Sale
:width: 600 px

Create the tax **22% extra EU** - Purchase:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/tax_22_a_e_ue.png
:alt: 22% extra UE - Purchase
:width: 600 px

Create the account 'Self Invoice Transitory' as follows:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/temp_account_auto_inv.png
:alt: Self Invoice Transitory Account
:width: 600 px

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/122/10.0
The 'Self Invoice Payment' Journal has to be configured with the just created 'Self Invoice Transitory' account:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/registro_riconciliazione.png
:alt: Registro pagamento autofattura
:width: 600 px

Edit the reverse charge type **Intra-EU (self-invoice)**:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/rc_selfinvoice.png
:alt: reverse charge with Self Invoice
:width: 600 px

The Self Invoice journal has to be of type 'Sale'.

Edit the reverse charge type **Extra-EU (self-invoice)** :

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/rc_selfinvoice_extra.png
:alt: reverse charge with Self Invoice
:width: 600 px

The 'Supplier Self Invoice Journal' has to be of type 'Purchase'.

In the fiscal position, set the reverse charge type:

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/fiscal_pos_intra.png
:alt: Impostazione posizioni fiscali Intra CEE
:width: 600 px

.. figure:: https://raw.githubusercontent.com/l10n_it_reverse_charge/static/description/fiscal_pos_extra.png
:alt: Impostazione posizioni fiscali Extra CEE
:width: 600 px

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

Only the **self-invoice** method is managed, **VAT integration** method is not managed yet.

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/l10n-italy/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/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-italy/issues/new?body=module:%20l10n_it_reverse_charge%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
=======

Images
------
Authors
~~~~~~~

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
* Odoo Italia Network

Contributors
------------
~~~~~~~~~~~~

* Davide Corio
* Alex Comba <[email protected]>
* Lorenzo Battistini <[email protected]

Maintainer
----------
Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_reverse_charge>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 0 additions & 1 deletion l10n_it_reverse_charge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Davide Corio
# Copyright 2017 Alex Comba - Agile Business Group
# Copyright 2017 Lorenzo Battistini - Agile Business Group
Expand Down
15 changes: 7 additions & 8 deletions l10n_it_reverse_charge/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Davide Corio
# Copyright 2017 Alex Comba - Agile Business Group
# Copyright 2017 Lorenzo Battistini - Agile Business Group
# Copyright 2017 Marco Calcagni - Dinamiche Aziendali srl
# License LGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Reverse Charge IVA',
'version': '10.0.1.1.8',
'name': 'ITA - Inversione contabile',
'version': '12.0.1.0.0',
'category': 'Localization/Italy',
'summary': 'Reverse Charge for Italy',
'author': 'Odoo Italia Network,Odoo Community Association (OCA)',
'summary': 'Inversione contabile',
'author': 'Odoo Italia Network, Odoo Community Association (OCA)',
'license': 'LGPL-3',
'website': 'https://www.odoo-italia.net',
'website': 'https://github.com/OCA/l10n-italy/tree/'
'12.0/l10n_it_reverse_charge',
'depends': [
'account_accountant',
'account',
'account_cancel',
],
'data': [
'security/ir.model.access.csv',
'data/rc_type.xml',
'security/ir.model.access.csv',
'views/account_invoice_view.xml',
'views/account_fiscal_position_view.xml',
'views/account_rc_type_view.xml',
Expand Down
6 changes: 6 additions & 0 deletions l10n_it_reverse_charge/data/rc_type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@
<field name="description">Configuration of Extra-EU trade using the self-invoice method</field>
</record>

<record id="account_rc_type_4" model="account.rc.type">
<field name="name">Intra-EU (Self-invoice)</field>
<field name="method">selfinvoice</field>
<field name="description">Configuration of Intra-EU trade using the self-invoice method</field>
</record>

</data>
</odoo>
Loading

0 comments on commit 775fc92

Please sign in to comment.