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

[MIG] l10n_it_reverse_charge #3514

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
13fe79e
[ADD] l10n_it_reverse_charge
dcorio Dec 2, 2014
66e131f
[REM] account_move_skip module
tafaRU Feb 21, 2017
9ad9b4f
FIX l10n_it_reverse_charge
eLBati May 2, 2017
65ed9e4
[IMP] improve the README
MarcoCalcagni Jul 25, 2017
bbffac5
porting l10n_it_reverse_charge to 10.0
MarcoCalcagni Oct 18, 2017
8c02e7e
IMP porting to 10.0 l10n_it_reverse_charge
eLBati Oct 18, 2017
96a7916
[FIX] l10n_it_reverse_charge: added check for invoice of 0
SimoRubi Oct 19, 2017
10834d3
[IMP] porting of change pull 402 of v8
MarcoCalcagni Nov 3, 2017
6771975
FIX l10n_it_reverse_charge to make it work with intrastat (#418)
eLBati Dec 6, 2017
db4e837
[FIX] l10n_it_reverse_charge: replace action_cancel_draft by action_i…
tafaRU Jan 11, 2018
edf86eb
[ADD] tests
SimoRubi Jan 25, 2018
5b8aeaa
FIX l10n_it_reverse_charge RC payment move should be posted (#559)
eLBati Jul 25, 2018
20d311b
[FIX] l10n_it_reverse_charge when 1 invoice line is RC and another is…
eLBati Jul 24, 2018
825e62a
[FIX][l10n_it_reverse_charge] Substitute all the taxes in invoice lin…
SimoRubi Jul 25, 2018
81019fd
Translated using Weblate (Italian)
primes2h Dec 16, 2018
d4d7769
[FIX] l10n_it_reverse_charge: Assign RC flag when invoice line is cre…
SimoRubi Mar 5, 2019
6422153
l10n_it_reverse_charge: avoid creating autoinvoice with payment term
tafaRU Mar 19, 2019
a0f00ea
l10n_it_reverse_charge: fix compute_rc_amount_tax to avoid difference…
tafaRU Mar 21, 2019
24ebcd6
[FIX] l10n_it_reverse_charge: Check RC flag in lines of brand new ven…
SimoRubi Apr 1, 2019
c311851
[10.0] Fix multicurrency in reverse charge
jackjack82 Feb 12, 2019
48d4e26
Compute tax amount considering correct rate date.
eLBati Apr 16, 2019
15f49d0
[MIG] l10n_it_reverse_charge: Migration to 12.0
SimoRubi Apr 23, 2019
95b994a
FIX l10n_it_reverse_charge README
eLBati Jun 14, 2019
6f8bc11
ADD get_tax_amount_added_for_rc to l10n_it_reverse_charge
eLBati Jul 27, 2019
86d39a9
IMP l10n_it_reverse_charge: write supplier invoice data in self invoi…
eLBati Sep 5, 2019
31d5259
Translated using Weblate (Italian)
eLBati Sep 18, 2019
df89bba
IMP l10n_it_reverse_charge supporting multi company
eLBati Sep 20, 2019
4d9ea1a
FIX l10n_it_reverse_charge when supplier RC tax is 0
eLBati Oct 16, 2019
8abdd23
Translated using Weblate (Italian)
primes2h Oct 26, 2019
4aeec7a
FIX l10n_it_reverse_charge when supplier invoice total is 0
eLBati Apr 15, 2020
d131f15
merge PR 1264 1717 1728 1737 1739
May 13, 2020
5f37bc0
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
8388221
REF l10n_it_reverse_charge tests to be reused
eLBati Dec 23, 2020
c7b9ee9
[IMP] l10n_it_reverse_charge: black, isort, prettier
SimoneVagile Aug 6, 2021
814b6e7
[14.0][MIG]l10n_it_reverse_charge
SimoneVagile Aug 18, 2021
495f289
[FIX] l10n_it_reverse_charge: fix rc_inv_vals due to wrong module mig…
tafaRU Dec 13, 2021
a40315c
[14.0][FIX] l10n_it_reverse_charge: undo reverse moves when supplier …
SimoneVagile Jan 4, 2022
9a3fac6
[14.0][fix] l10n_it_reverse_charge: unable to set payment to draft
fredzamoabg Jan 18, 2022
cc6783f
[FIX] l10n_it_reverse_charge: forward return of super in action_post …
fredzamoabg Mar 24, 2022
0f2e721
[FIX] l10n_it_reverse_charge: disable one test (for now)
TheMule71 Apr 8, 2022
98ff040
[FIX] l10n_it_reverse_charge: fix test tags
TheMule71 Apr 15, 2022
b676f1f
Revert "[FIX] l10n_it_reverse_charge: disable one test (for now)"
fredzamoabg May 2, 2022
25a99b5
Translated using Weblate (Italian)
francesco-ooops May 2, 2022
28ccf46
[FIX] l10n_it_reverse_charge: wrong string from tuple when move_vals[…
fredzamoabg May 10, 2022
ceca2d5
[14.0][FIX] l10n_it_reverse_charge: porting mistake
TheMule71 Jul 16, 2022
e8dd0f8
* l10n_it_reverse_charge, fix set rc flag
GSLabIt May 24, 2022
9fee071
* l10n_it_fatturapa_in_rc, fix set rc flag
GSLabIt May 24, 2022
001e330
[IMP] l10n_it_reverse_charge: showing info about original supplier in…
TheMule71 Aug 16, 2022
74bba79
IMP l10n_it_reverse_charge supporting with_supplier_self_invoice for …
gabriele-baldessari Dec 6, 2022
a34d8a2
[14.0][FIX] tests
sergiocorato Dec 29, 2022
7316f28
[FIX] l10n_it_reverse_charge: fix website in manifest
Aldeigja Mar 28, 2023
68d0725
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
6c975a7
Translated using Weblate (Italian)
mymage Apr 21, 2023
ba5eec5
[FIX] l10n_it_reverse_charge: No outstanding payments
SirTakobi Apr 20, 2023
e953c86
Translated using Weblate (Italian)
primes2h Apr 28, 2023
b2468d7
Complete porting bc2dba202508e1a9b62301474db5a8ae576e7d50 to 14.0: IM…
eLBati Apr 30, 2023
a7fca19
Translated using Weblate (Italian)
mymage Jul 8, 2023
918a5c0
[IMP] l10n_it_reverse_charge: pre-commit execution
SirTakobi Aug 2, 2023
7860711
[MIG] l10n_it_reverse_charge: Migration to 16.0
SirTakobi Aug 2, 2023
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
244 changes: 244 additions & 0 deletions l10n_it_reverse_charge/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
==========================
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

Creare il registro 'Riconciliazione RC' di tipo Varie.

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

Create the 'RC Reconciliation' Journal of type Miscellaneous.

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

* `Ooops <https://www.ooops404.com>`_:

* Giovanni Serra <giovanni@gslab.it>

* `TAKOBI <https://takobi.online>`_:

* Simone Rubino <sir@takobi.online>

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
28 changes: 28 additions & 0 deletions l10n_it_reverse_charge/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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
# Copyright 2023 Simone Rubino - TAKOBI
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpg).

{
"name": "ITA - Inversione contabile",
"version": "16.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",
"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" ?>
<!--
~ Copyright 2023 Simone Rubino - TAKOBI
~ License LGPG-3.0 or later (https://www.gnu.org/licenses/lgpg).
-->
<odoo 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>

<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>
</odoo>
Loading
Loading