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_vat_registries #3564

Merged
merged 32 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bcf2d5a
copy l10n_it_vat_registries from 10.0 branch due to conflits with git AM
eLBati Jul 13, 2018
90db7f3
porting l10n_it_vat_registries to 11.0
Jul 13, 2018
054344e
IMP l10n_it_vat_registries README (#479) and tests
eLBati Jul 17, 2018
22ce04b
[MIG] l10n_it_vat_registries: Migration to 12.0
eLBati Nov 1, 2018
e8858dd
IMP l10n_it_vat_registries translations
eLBati Feb 12, 2019
b2492a7
Translated using Weblate (Italian)
primes2h Feb 18, 2019
38347a4
Translated using Weblate (Italian)
primes2h Mar 7, 2019
11eb36f
[IMP] l10n_it_vat_registries: Allow to print reports with no account …
SimoRubi Jul 3, 2019
744b22d
Translated using Weblate (Italian)
primes2h Dec 10, 2019
c232c10
Translated using Weblate (Italian)
primes2h Jan 7, 2020
2d0e4f8
IMP l10n_it_vat_registries printing VAT reg name if present
eLBati Apr 11, 2020
dc6f62c
[FIX][l10n_it_vat_registries]
alessandrocamilli Jul 13, 2019
15c1135
Translated using Weblate (Italian)
alessandrocamilli Apr 24, 2020
477f3b5
merge PR 1264 1717 1728 1737 1739
May 13, 2020
b905dcb
[12.0][FIX] remove PO ref from supplier invoice reference printed in …
sergiocorato Mar 4, 2021
d9db766
Translated using Weblate (Italian)
sergiocorato Mar 7, 2021
abd2440
[FIX] l10n_it_vat_registries - Test on midnight
OpenCode Mar 9, 2021
a771bde
[UPD][l10n_it_vat_registries] Lesser update to '_get_tax_lines' metho…
SilvioGregorini Mar 29, 2021
753e90b
[IMP] l10n_it_vat_registries: black, isort, prettier
fredzamoabg Mar 31, 2021
09e3a7b
[MIG] l10n_it_vat_registries: Migration to 14.0
fredzamoabg Apr 7, 2021
a17193f
FIX l10n_it_vat_registries: use consistent order in report summary
TheMule71 Jun 1, 2021
641fac4
[FIX][l10n_it_vat_registries] fix issue https://github.com/OCA/l10n-i…
Sep 17, 2021
b724df6
[FIX] l10n_it_vat_registries: Remove report from move invoice context…
SimoRubi Feb 8, 2022
b210ed7
[14.0][FIX] l10n_it_vat_registries: fix bill number in report
TheMule71 Apr 29, 2022
a69efdf
[IMP] l10n_it_vat_registries: print purchase vat registries with ref …
Borruso Feb 14, 2022
cf7c7ab
Translated using Weblate (Italian)
eLBati Jan 23, 2023
4bcd9e0
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
870e07e
Translated using Weblate (Italian)
mymage Apr 19, 2023
2174530
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
334d09b
[IMP] l10n_it_vat_registries: pre-commit execution
SirAionTech Sep 7, 2023
fbcf72a
[MIG] l10n_it_vat_registries: Migration to 16.0
Borruso Sep 11, 2023
a2fb57e
[FIX] l10n_it_account: Use report layout
SirAionTech Sep 11, 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
2 changes: 1 addition & 1 deletion l10n_it_account/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"views/account_view.xml",
],
"assets": {
"web.minimal_layout": [
"web.report_assets_common": [
"l10n_it_account/static/src/css/*.css",
]
},
Expand Down
7 changes: 2 additions & 5 deletions l10n_it_account/reports/account_reports_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@
t-esc="company.city"
class=""
/> - <span t-esc="company.state_id.code" class="" /><br />
<span class="text-right">TIN: </span><span
<span class="text-end">TIN: </span><span
t-esc="company.partner_id.vat"
class=""
/><br />
</div>
<div
class="col-xs-4 col-xs-offset-4 text-right"
style="margin-left:10px"
>
<div class="col-xs-4 col-xs-offset-4 text-end" style="margin-left:10px">
<h3 t-esc="title" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion l10n_it_account/static/src/css/l10n_it_account.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
table {
Copy link
Contributor

Choose a reason for hiding this comment

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

@SirAionTech
Ciao, questo CSS interferisce con le classi standard di Odoo tipo table-bordered, che, dopo aver installato l10n_it_account perdono i bordi.

Ti ricordi il perché di questo !important e non sarebbe meglio associarlo ad una classe apposita invece "colpire" tutte le table indiscriminatamente?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👋 ricordo che avevo tolto un po' di cose da 9694c33, probabilmente questo l'ho lasciato così perché è un modo per mantenere lo stesso comportamento che c'era in 14.0.
Concordo che sarebbe meglio usare una classe apposta, anche in 14.0.

Copy link
Contributor

Choose a reason for hiding this comment

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

@TheMule71 c'è già una issue o puoi aprirla?

Copy link
Contributor

Choose a reason for hiding this comment

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

@francesco-ooops
Eh, devo costruire un es. apposta...

border: 0px;
border: 0px solid transparent !important;
}
thead {
background: #f5f5f5;
Expand Down
158 changes: 158 additions & 0 deletions l10n_it_vat_registries/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
==================
ITA - Registri IVA
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa15b5cf25d504fd618238bc8a4575276f49e0478d3120bbd81423c5e196cc42
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_registries
: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-16-0/l10n-italy-16-0-l10n_it_vat_registries
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=16.0
:alt: Try me on Runboat

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

Law: Decreto del Presidente della Repubblica del 26 ottobre 1972 n. 633
https://goo.gl/31yTVj

**Table of contents**

.. contents::
:local:

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

**Italiano**

È possibile configurare quali imposte escludere dai registri (ad esempio le ritenute)
impostando il campo dell'imposta 'Escludere dai registri IVA'

Per generare i periodi fiscali,
aprire Contabilità > Configurazione > Contabilità > Intervalli data > Generazione intervalli data:

* Prefisso nome intervallo: prefisso identificativo dell'anno dei periodi da generare
* Durata: 1 mese
* Numero di intervalli da generare: 12
* Tipo: creare un tipo o utilizzarne uno esistente, non è richiesta una configurazione particolare per il tipo
* Data iniziale: primo giorno dell'anno dei periodi da generare (ad esempio 01/01/2018)

Tramite
Contabilità -> Configurazione -> Contabilità -> Registri IVA
è possibile configurare i registri IVA, ad esempio 'vendite', 'acquisti' o 'corrispettivi'.
Per associare un registro contabile a un registro IVA, aprire il registro tramite
Contabilità -> Configurazione -> Contabilità -> Registri
e impostare il campo "Registro IVA".

Se non ci sono movimenti contabili da stampare, la stampa viene generata con totale zero.


**English**

You can configure which taxes to exclude from registries (like withholding tax)
setting the 'Exclude from VAT registries' field.

In order to generate fiscal periods,
open Accounting > Configuration > Accounting > Date ranges > Generate Date Ranges:

* Range name prefix: Prefix identifying the year of the periods to be generated
* Duration: 1 month
* Number of ranges to generate: 12
* Type: Create a type or use an existing one, no specific type's configuration is required
* Date start: first day of the period's year (for instance 01/01/2018)

Using the menu
Accounting -> Configuration -> Accounting -> VAT registries
you can configure VAT registries, like 'Sales', 'Purchases' or 'corrispettivi'.
In order to link a journal to a VAT registry, open journal by
Accounting -> Configuration -> Accounting -> Journals
and set the 'VAT registry' field.

If there are no account moves to be printed, the report is printed with total equal to zero.

Usage
=====

**Italiano**

Dal menu
Contabilità -> Rendicontazione -> Imposte -> Registri IVA
è possibile lanciare la procedura di stampa, nella quale è necessario impostare un intervallo di date. Qui è possibile utilizzare un periodo fiscale nel campo 'Intervallo Date'.

Nel campo 'Registro IVA' è possibile selezionare un registro preconfigurato, oppure è possibile andare direttamente a impostare i registri e la struttura nei campi sottostanti.


**English**

Using the menu
Accounting -> Reports -> Taxes -> VAT registries
it is possible to launch the print wizard, where you have to set a date range. You can use a fiscal period in the field 'date range'.

In the 'VAT registry' field you can select a preconfigured registry, or you can directly journals and layout in the fields below.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_registries%0Aversion:%2016.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
~~~~~~~

* Agile Business Group
* LinkIt Srl

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

* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Sergio Corato <sergiocorato@gmail.com>
* Elena Carlesso <ecarlesso@linkgroup.it>
* Alex Comba <alex.comba@agilebg.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Odoo Italia Network

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/16.0/l10n_it_vat_registries>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions l10n_it_vat_registries/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
35 changes: 35 additions & 0 deletions l10n_it_vat_registries/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2011-2013 Associazione OpenERP Italia
# (<http://www.openerp-italia.org>).
# Copyright 2012 Domsense srl (<http://www.domsense.com>)
# Copyright 2012-2018 Lorenzo Battistini - Agile Business Group
# Copyright 2012-15 LinkIt srl (<http://http://www.linkgroup.it>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"version": "16.0.1.0.0",
"name": "ITA - Registri IVA",
"category": "Localization/Italy",
"author": "Agile Business Group, Odoo Community Association (OCA), LinkIt Srl",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"development_status": "Production/Stable",
"depends": [
"base_setup",
"account",
"l10n_it_account",
"web",
"account_tax_balance",
"date_range",
],
"data": [
"security/ir.model.access.csv",
"security/vat_registry_security.xml",
"views/account_journal_view.xml",
"views/account_tax_registry_view.xml",
"views/account_view.xml",
"wizard/print_registro_iva.xml",
"report/reports.xml",
"report/report_registro_iva.xml",
],
"installable": True,
}
Loading
Loading