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

[16.0] [MIG] l10n_it_reverse_charge #3300

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
5aaf1f7
[ADD] l10n_it_reverse_charge
dcorio Dec 2, 2014
0e50f3a
[REM] account_move_skip module
tafaRU Feb 21, 2017
696475b
FIX l10n_it_reverse_charge
eLBati May 2, 2017
10c74bc
[IMP] improve the README
MarcoCalcagni Jul 25, 2017
a15eb0f
porting l10n_it_reverse_charge to 10.0
MarcoCalcagni Oct 18, 2017
7202f14
IMP porting to 10.0 l10n_it_reverse_charge
eLBati Oct 18, 2017
764e4e0
[FIX] l10n_it_reverse_charge: added check for invoice of 0
SimoRubi Oct 19, 2017
9ede23f
[IMP] porting of change pull 402 of v8
MarcoCalcagni Nov 3, 2017
1d7cc98
FIX l10n_it_reverse_charge to make it work with intrastat (#418)
eLBati Dec 6, 2017
916340a
[FIX] l10n_it_reverse_charge: replace action_cancel_draft by action_i…
tafaRU Jan 11, 2018
99f1769
[ADD] tests
SimoRubi Jan 25, 2018
d40eaa3
FIX l10n_it_reverse_charge RC payment move should be posted (#559)
eLBati Jul 25, 2018
3511f6a
[FIX] l10n_it_reverse_charge when 1 invoice line is RC and another is…
eLBati Jul 24, 2018
a8c2d3a
[FIX][l10n_it_reverse_charge] Substitute all the taxes in invoice lin…
SimoRubi Jul 25, 2018
2480f74
Translated using Weblate (Italian)
primes2h Dec 16, 2018
1870bd1
[FIX] l10n_it_reverse_charge: Assign RC flag when invoice line is cre…
SimoRubi Mar 5, 2019
6ba25e8
l10n_it_reverse_charge: avoid creating autoinvoice with payment term
tafaRU Mar 19, 2019
36e3a6a
l10n_it_reverse_charge: fix compute_rc_amount_tax to avoid difference…
tafaRU Mar 21, 2019
c291816
[UPD] Update l10n_it_reverse_charge.pot
oca-travis Mar 26, 2019
d9fb919
[FIX] l10n_it_reverse_charge: Check RC flag in lines of brand new ven…
SimoRubi Apr 1, 2019
b285528
[10.0] Fix multicurrency in reverse charge
jackjack82 Feb 12, 2019
2689482
Compute tax amount considering correct rate date.
eLBati Apr 16, 2019
4c3862f
[MIG] l10n_it_reverse_charge: Migration to 12.0
SimoRubi Apr 23, 2019
38f0f14
FIX l10n_it_reverse_charge README
eLBati Jun 14, 2019
3b2524d
ADD get_tax_amount_added_for_rc to l10n_it_reverse_charge
eLBati Jul 27, 2019
aab7529
IMP l10n_it_reverse_charge: write supplier invoice data in self invoi…
eLBati Sep 5, 2019
3a12d71
Translated using Weblate (Italian)
eLBati Sep 18, 2019
42dc6a0
IMP l10n_it_reverse_charge supporting multi company
eLBati Sep 20, 2019
2eb8f49
FIX l10n_it_reverse_charge when supplier RC tax is 0
eLBati Oct 16, 2019
b132ecd
Translated using Weblate (Italian)
primes2h Oct 26, 2019
d66e427
FIX l10n_it_reverse_charge when supplier invoice total is 0
eLBati Apr 15, 2020
f613928
merge PR 1264 1717 1728 1737 1739
May 13, 2020
9147d90
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
061bdcc
REF l10n_it_reverse_charge tests to be reused
eLBati Dec 23, 2020
6c143aa
[IMP] l10n_it_reverse_charge: black, isort, prettier
SimoneVagile Aug 6, 2021
64d43ac
[14.0][MIG]l10n_it_reverse_charge
SimoneVagile Aug 18, 2021
1cb52c4
[FIX] l10n_it_reverse_charge: fix rc_inv_vals due to wrong module mig…
tafaRU Dec 13, 2021
9292805
[14.0][FIX] l10n_it_reverse_charge: undo reverse moves when supplier …
SimoneVagile Jan 4, 2022
f9b192b
[14.0][fix] l10n_it_reverse_charge: unable to set payment to draft
fredzamoabg Jan 18, 2022
e77b512
[FIX] l10n_it_reverse_charge: forward return of super in action_post …
fredzamoabg Mar 24, 2022
7fcc2c6
[FIX] l10n_it_reverse_charge: disable one test (for now)
TheMule71 Apr 8, 2022
9e534b1
[FIX] l10n_it_reverse_charge: fix test tags
TheMule71 Apr 15, 2022
6232a90
Revert "[FIX] l10n_it_reverse_charge: disable one test (for now)"
fredzamoabg May 2, 2022
ef7d238
Translated using Weblate (Italian)
francesco-ooops May 2, 2022
cc9ee8d
[FIX] l10n_it_reverse_charge: wrong string from tuple when move_vals[…
fredzamoabg May 10, 2022
5080b81
[14.0][FIX] l10n_it_reverse_charge: porting mistake
TheMule71 Jul 16, 2022
89833eb
* l10n_it_reverse_charge, fix set rc flag
GSLabIt May 24, 2022
fe8ec52
* l10n_it_fatturapa_in_rc, fix set rc flag
GSLabIt May 24, 2022
9253048
[IMP] l10n_it_reverse_charge: showing info about original supplier in…
TheMule71 Aug 16, 2022
039ea9a
IMP l10n_it_reverse_charge supporting with_supplier_self_invoice for …
gabriele-baldessari Dec 6, 2022
087b19e
[14.0][FIX] tests
sergiocorato Dec 29, 2022
5ae51f6
Update translation files
weblate Feb 17, 2023
e73e9d8
Update translation files
weblate Mar 24, 2023
db3d1db
[FIX] l10n_it_reverse_charge: fix website in manifest
Aldeigja Mar 28, 2023
8c7c504
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
6b74b11
Translated using Weblate (Italian)
mymage Apr 21, 2023
2f8287f
Translated using Weblate (Italian)
primes2h Apr 28, 2023
52194af
[IMP] l10n_it_reverse_charge: pre-commit execution
are-agilebg Apr 28, 2023
4639d61
[MIG] l10n_it_reverse_charge: Migration to 16.0
are-agilebg Apr 28, 2023
56a8a1e
[FIX] l10n_it_reverse_charge: remove default otherwise rc field is no…
tafaRU Jul 3, 2023
56f0340
[FIX] l10n_it_reverse_charge: No outstanding payments (#2)
aleuffre Jul 14, 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
1 change: 1 addition & 0 deletions .python-version
Copy link
Contributor

Choose a reason for hiding this comment

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

Ho provato a eseguire pre-commit e questo file non viene generato, da dove viene?

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9.13
244 changes: 244 additions & 0 deletions l10n_it_reverse_charge/README.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

Questi commit sono da schiacciare:

Mancano alcuni commit presenti in 14.0, tipo:

È possibile riscrivere il messaggio del commit 56a8a1e in modo da seguire le linee guida https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#71commit-message?
La prima riga è lunga quasi due volte il numero massimo di caratteri

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
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": "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,
}
36 changes: 36 additions & 0 deletions l10n_it_reverse_charge/data/rc_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<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