-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
OCA-git-bot
merged 64 commits into
OCA:14.0
from
SimoneVagile:14.0-mig-l10n_it_reverse_charge
Nov 19, 2021
Merged
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 2bd6b4e
[REM] account_move_skip module
tafaRU 6d7b5c9
FIX l10n_it_reverse_charge
eLBati 0df2d52
[IMP] improve the README
MarcoCalcagni 10e6d57
OCA Transbot updated translations from Transifex
oca-transbot c4c4113
porting l10n_it_reverse_charge to 10.0
MarcoCalcagni 28730c2
IMP porting to 10.0 l10n_it_reverse_charge
eLBati 23cdad2
[FIX] l10n_it_reverse_charge: added check for invoice of 0
SimoRubi 1f8388c
[IMP] porting of change pull 402 of v8
MarcoCalcagni 6ff3a1f
FIX l10n_it_reverse_charge to make it work with intrastat (#418)
eLBati f208fa5
OCA Transbot updated translations from Transifex
oca-transbot 938231b
[FIX] l10n_it_reverse_charge: replace action_cancel_draft by action_i…
tafaRU 7ecc112
[ADD] tests
SimoRubi 32f0d63
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 3b9c9c0
FIX l10n_it_reverse_charge RC payment move should be posted (#559)
eLBati 93fc84f
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 5561778
[FIX] l10n_it_reverse_charge when 1 invoice line is RC and another is…
eLBati 728000b
[FIX][l10n_it_reverse_charge] Substitute all the taxes in invoice lin…
SimoRubi 8a70982
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 7d8a716
Translated using Weblate (Italian)
primes2h 9f106b4
[FIX] l10n_it_reverse_charge: Assign RC flag when invoice line is cre…
SimoRubi f15ddd7
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 2ecfb6a
l10n_it_reverse_charge: avoid creating autoinvoice with payment term
tafaRU 758d1f0
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 8a54e58
l10n_it_reverse_charge: fix compute_rc_amount_tax to avoid difference…
tafaRU 0326fee
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 2965018
[ADD] icon.png
OCA-git-bot f8a7cad
[FIX] l10n_it_reverse_charge: Check RC flag in lines of brand new ven…
SimoRubi 7f5887b
[10.0] Fix multicurrency in reverse charge
jackjack82 4e3cce3
Compute tax amount considering correct rate date.
eLBati c7b10e1
[UPD] Update l10n_it_reverse_charge.pot
oca-travis d9ab9e6
[MIG] l10n_it_reverse_charge: Migration to 12.0
SimoRubi 975ca52
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 940439e
Update translation files
oca-transbot 046d0e1
FIX l10n_it_reverse_charge README
eLBati 28747ed
[UPD] README.rst
OCA-git-bot f0676fc
ADD get_tax_amount_added_for_rc to l10n_it_reverse_charge
eLBati 4047ab9
l10n_it_reverse_charge 12.0.1.1.0
OCA-git-bot 283fe01
IMP l10n_it_reverse_charge: write supplier invoice data in self invoi…
eLBati 1b2d8f4
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 8ad9c96
l10n_it_reverse_charge 12.0.1.1.1
OCA-git-bot 620b513
Update translation files
oca-transbot 27784b4
Translated using Weblate (Italian)
eLBati 0958c33
IMP l10n_it_reverse_charge supporting multi company
eLBati 286f2c3
[UPD] Update l10n_it_reverse_charge.pot
oca-travis 17d9dee
l10n_it_reverse_charge 12.0.1.2.0
OCA-git-bot e7075e4
Update translation files
oca-transbot 45e17a9
FIX l10n_it_reverse_charge when supplier RC tax is 0
eLBati 1c0482b
Translated using Weblate (Italian)
primes2h a4e72c6
[UPD] Update l10n_it_reverse_charge.pot
oca-travis ba26faa
l10n_it_reverse_charge 12.0.1.2.1
OCA-git-bot 2bf6ed2
Update translation files
oca-transbot ee7bf2d
FIX l10n_it_reverse_charge when supplier invoice total is 0
eLBati cf9fda6
[UPD] Update l10n_it_reverse_charge.pot
oca-travis fd5f417
l10n_it_reverse_charge 12.0.1.2.2
OCA-git-bot 7039ead
Update translation files
oca-transbot 364f948
merge PR 1264 1717 1728 1737 1739
cb0c3ab
FIX license LGPL-3 conflicts
eLBati 0f95024
[UPD] Update l10n_it_reverse_charge.pot
oca-travis e526788
l10n_it_reverse_charge 12.0.1.2.4
OCA-git-bot 9488fe5
Update translation files
oca-transbot 1362a88
REF l10n_it_reverse_charge tests to be reused
eLBati 5a8b77a
[IMP] l10n_it_reverse_charge: black, isort, prettier
SimoneVagile 5e65a06
[14.0][MIG]l10n_it_reverse_charge
SimoneVagile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
||
<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> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?