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

[14.0][MIG] l10n_it_reverse_charge #2310

Merged
merged 64 commits into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
b1dad1f
[ADD] l10n_it_reverse_charge
dcorio Dec 2, 2014
2bd6b4e
[REM] account_move_skip module
tafaRU Feb 21, 2017
6d7b5c9
FIX l10n_it_reverse_charge
eLBati May 2, 2017
0df2d52
[IMP] improve the README
MarcoCalcagni Jul 25, 2017
10e6d57
OCA Transbot updated translations from Transifex
oca-transbot Jul 29, 2017
c4c4113
porting l10n_it_reverse_charge to 10.0
MarcoCalcagni Oct 18, 2017
28730c2
IMP porting to 10.0 l10n_it_reverse_charge
eLBati Oct 18, 2017
23cdad2
[FIX] l10n_it_reverse_charge: added check for invoice of 0
SimoRubi Oct 19, 2017
1f8388c
[IMP] porting of change pull 402 of v8
MarcoCalcagni Nov 3, 2017
6ff3a1f
FIX l10n_it_reverse_charge to make it work with intrastat (#418)
eLBati Dec 6, 2017
f208fa5
OCA Transbot updated translations from Transifex
oca-transbot Dec 9, 2017
938231b
[FIX] l10n_it_reverse_charge: replace action_cancel_draft by action_i…
tafaRU Jan 11, 2018
7ecc112
[ADD] tests
SimoRubi Jan 25, 2018
32f0d63
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Jun 20, 2018
3b9c9c0
FIX l10n_it_reverse_charge RC payment move should be posted (#559)
eLBati Jul 25, 2018
93fc84f
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Jul 25, 2018
5561778
[FIX] l10n_it_reverse_charge when 1 invoice line is RC and another is…
eLBati Jul 24, 2018
728000b
[FIX][l10n_it_reverse_charge] Substitute all the taxes in invoice lin…
SimoRubi Jul 25, 2018
8a70982
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Aug 16, 2018
7d8a716
Translated using Weblate (Italian)
primes2h Dec 16, 2018
9f106b4
[FIX] l10n_it_reverse_charge: Assign RC flag when invoice line is cre…
SimoRubi Mar 5, 2019
f15ddd7
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Mar 11, 2019
2ecfb6a
l10n_it_reverse_charge: avoid creating autoinvoice with payment term
tafaRU Mar 19, 2019
758d1f0
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Mar 21, 2019
8a54e58
l10n_it_reverse_charge: fix compute_rc_amount_tax to avoid difference…
tafaRU Mar 21, 2019
0326fee
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Mar 26, 2019
2965018
[ADD] icon.png
OCA-git-bot Apr 3, 2019
f8a7cad
[FIX] l10n_it_reverse_charge: Check RC flag in lines of brand new ven…
SimoRubi Apr 1, 2019
7f5887b
[10.0] Fix multicurrency in reverse charge
jackjack82 Feb 12, 2019
4e3cce3
Compute tax amount considering correct rate date.
eLBati Apr 16, 2019
c7b10e1
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Apr 23, 2019
d9ab9e6
[MIG] l10n_it_reverse_charge: Migration to 12.0
SimoRubi Apr 23, 2019
975ca52
[UPD] Update l10n_it_reverse_charge.pot
oca-travis May 9, 2019
940439e
Update translation files
oca-transbot May 20, 2019
046d0e1
FIX l10n_it_reverse_charge README
eLBati Jun 14, 2019
28747ed
[UPD] README.rst
OCA-git-bot Jul 29, 2019
f0676fc
ADD get_tax_amount_added_for_rc to l10n_it_reverse_charge
eLBati Jul 27, 2019
4047ab9
l10n_it_reverse_charge 12.0.1.1.0
OCA-git-bot Aug 20, 2019
283fe01
IMP l10n_it_reverse_charge: write supplier invoice data in self invoi…
eLBati Sep 5, 2019
1b2d8f4
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Sep 17, 2019
8ad9c96
l10n_it_reverse_charge 12.0.1.1.1
OCA-git-bot Sep 17, 2019
620b513
Update translation files
oca-transbot Sep 17, 2019
27784b4
Translated using Weblate (Italian)
eLBati Sep 18, 2019
0958c33
IMP l10n_it_reverse_charge supporting multi company
eLBati Sep 20, 2019
286f2c3
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Sep 21, 2019
17d9dee
l10n_it_reverse_charge 12.0.1.2.0
OCA-git-bot Sep 21, 2019
e7075e4
Update translation files
oca-transbot Sep 21, 2019
45e17a9
FIX l10n_it_reverse_charge when supplier RC tax is 0
eLBati Oct 16, 2019
1c0482b
Translated using Weblate (Italian)
primes2h Oct 26, 2019
a4e72c6
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Oct 29, 2019
ba26faa
l10n_it_reverse_charge 12.0.1.2.1
OCA-git-bot Oct 29, 2019
2bf6ed2
Update translation files
oca-transbot Oct 29, 2019
ee7bf2d
FIX l10n_it_reverse_charge when supplier invoice total is 0
eLBati Apr 15, 2020
cf9fda6
[UPD] Update l10n_it_reverse_charge.pot
oca-travis May 4, 2020
fd5f417
l10n_it_reverse_charge 12.0.1.2.2
OCA-git-bot May 4, 2020
7039ead
Update translation files
oca-transbot May 4, 2020
364f948
merge PR 1264 1717 1728 1737 1739
May 13, 2020
cb0c3ab
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
0f95024
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Sep 24, 2020
e526788
l10n_it_reverse_charge 12.0.1.2.4
OCA-git-bot Sep 24, 2020
9488fe5
Update translation files
oca-transbot Sep 24, 2020
1362a88
REF l10n_it_reverse_charge tests to be reused
eLBati Dec 23, 2020
5a8b77a
[IMP] l10n_it_reverse_charge: black, isort, prettier
SimoneVagile Aug 6, 2021
5e65a06
[14.0][MIG]l10n_it_reverse_charge
SimoneVagile Aug 18, 2021
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
252 changes: 252 additions & 0 deletions l10n_it_reverse_charge/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
==========================
ITA - Inversione contabile
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/14.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-14-0/l10n-italy-14-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/14.0
:alt: Try me on Runbot

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

**Italiano**

Modulo per gestire l'inversione contabile (reverse charge) nelle fatture fornitore.

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
=============

**Italiano**

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

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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** - Vendite:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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:

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

Creare il conto 'Transitorio autofatturazione':

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/temp_account_auto_inv.png
:alt: conto transitorio Autofattura
:width: 600 px

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

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

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/registro_riconciliazione_2.png
:alt: Registro pagamento autofattura (tab Configurazione)
:width: 600 px

Modificare il tipo inversione contabile **Intra-UE (autofattura)**:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/rc_selfinvoice.png
:alt: inversione contabile con Autofattura
:width: 600 px

Il registro autofattura deve essere di tipo 'Vendita'.

Modificare il tipo inversione contabile **Extra-UE (autofattura)**:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/rc_selfinvoice_extra.png
:alt: inversione contabile con Autofattura
:width: 600 px

Il 'Registro autofattura passiva' deve essere di tipo 'Acquisto'.


Nella posizione fiscale, impostare il tipo inversione contabile:

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

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

La posizione fiscale deve essere salvata sui contatti dei fornitori nel campo 'Posizione fiscale'

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/partner_fiscal_pos.png
:alt: Impostazione posizioni fiscali Extra CEE
:width: 600 px

**English**

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

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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/OCA/l10n-italy/14.0/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:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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/OCA/l10n-italy/14.0/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/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/temp_account_auto_inv.png
:alt: Self Invoice Transitory Account
:width: 600 px

The 'Self Invoice Payment' Journal has to be configured with the just created 'Self Invoice Transitory' account:

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

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/registro_riconciliazione_2.png
:alt: Registro pagamento autofattura (tab Configurazione)
:width: 600 px

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

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/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/OCA/l10n-italy/14.0/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/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/fiscal_pos_intra.png
:alt: Impostazione posizioni fiscali Intra CEE
:width: 600 px

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

Fiscal position has to be saved on suppliers' contact inside 'Fiscal position' field

.. figure:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_reverse_charge/static/description/partner_fiscal_pos.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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_reverse_charge%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
~~~~~~~

* Odoo Italia Network

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

* Davide Corio
* Alex Comba <alex.comba@agilebg.com>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com

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-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_reverse_charge>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions l10n_it_reverse_charge/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 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

from . import models
27 changes: 27 additions & 0 deletions l10n_it_reverse_charge/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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": "ITA - Inversione contabile",
"version": "14.0.1.0.0",
"category": "Localization/Italy",
"summary": "Inversione contabile",
"author": "Odoo Italia Network, Odoo Community Association (OCA)",
"license": "LGPL-3",
"website": "https://github.com/OCA/l10n-italy" "14.0/l10n_it_reverse_charge",
"depends": [
"account",
],
"data": [
"security/ir.model.access.csv",
"data/rc_type.xml",
"views/account_move_views.xml",
"views/account_fiscal_position_view.xml",
"views/account_rc_type_view.xml",
"security/reverse_charge_security.xml",
],
"installable": True,
}
38 changes: 38 additions & 0 deletions l10n_it_reverse_charge/data/rc_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">

<record id="account_rc_type_1" model="account.rc.type">
<field name="name">Intra-EU (VAT Integration)</field>
<field name="method">integration</field>
<field
name="description"
>Configuration of Intra-EU trade using the VAT Integration method</field>
</record>

<record id="account_rc_type_2" model="account.rc.type">
<field name="name">Extra-EU (VAT Integration)</field>
<field name="method">integration</field>
<field
name="description"
>Configuration of Extra-EU trade using the VAT Integration method</field>
</record>
Comment on lines +5 to +19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Questi record sbaglio o non sono documentati nel README?


<record id="account_rc_type_3" model="account.rc.type">
<field name="name">Extra-EU (Self-invoice)</field>
<field name="method">selfinvoice</field>
<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