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

task 3706 - merge in prod #79

Open
wants to merge 11 commits into
base: 16.0-mar
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
184 changes: 184 additions & 0 deletions l10n_it_financial_statement_eu/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
==========================
ITA - Bilancio UE con XBRL
==========================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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-mig-l10n_it_financial_statement_eu/l10n_it_financial_statement_eu
: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-mig-l10n_it_financial_statement_eu/l10n-italy-16-0-mig-l10n_it_financial_statement_eu-l10n_it_financial_statement_eu
: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-mig-l10n_it_financial_statement_eu
:alt: Try me on Runboat

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

**Italiano**

In Odoo è presente il piano dei conti tradizionale e le varie registrazioni
contabili
con gli importi ma non è presente una struttura di voci
che descrivano il Bilancio UE a cui associare le voci del piano dei conti
tradizionale.

Questo modulo consente di generare un bilancio riclassificato secondo lo schema
del bilancio UE
con tutte le voci delle più recenti tassonomie mettendo a disposizione le
seguenti funzionalità:

* associare ai conti del piano dei conti le voci del Bilancio UE (con preassociazione automatica in fase di installazione del modulo)
* elaborare le registrazioni contabili di un dato periodo (per esempio l’anno precedente) al fine di ottenere il bilancio contabile in formato UE, facendo gli opportuni controlli di congruenza, associazione di tutti i conti movimentati nel periodo e quadratura del bilancio. Nei report viene riportato anche il dettaglio dei conti associati ad una certa voce del bilancio UE
* generare il report di anteprima del Bilancio UE
* generare la stampa PDF del Bilancio UE
* generare i file XLSX e XBRL del bilancio (utili per successive rielaborazioni e per trasferimento del bilancio UE al Commercialista)

**English**

In Odoo there is the traditional chart of accounts and the various registrations
accountants
with amounts but there is no line item structure
that describe the EU financial statements to which to associate the items of the traditional chart of accounts.
This module allows to generate a reclassified financial statements according to the EU format
with all the entries of the most recent taxonomies by making available the
following features:

* associate the items in the Chart of Accounts with the items in the EU Budget (with automatic pre-association during module installation)
* process the accounting records of a given period (for example
last year) in order to obtain the accounting financial statements in EU format, carrying out the appropriate congruence checks, association of all the accounts moved in the period and balancing of the balance sheet. The reports also show the details of the accounts associated with a certain item of the EU financial statements
* preview then EU financial statements
* PDF printout of the EU financial statements
* download files in XLSX or XBRL format (useful for subsequent re-elaborations and for the transfer of the EU financial statements to the accountant)

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

**Italiano**

Il modulo non necessita di nessuna particolare configurazione.
L'installazione del modulo crea le voci del bilancio UE secondo la più recente tassonomia.
Si consiglia di installare la contabilità con relativo piano dei conti prima di installare questo modulo, per consentire l’associazione automatica dei conti del piano dei conti italiano alle voci del bilancio UE.
Sarà poi possibile modificare le associazioni o integrare quelle mancanti tramite la maschera Configurazione / Piano dei conti / Imposta


**English**

The module does not require any particular configuration.
Module installation creates the items of the EU financial statements according to the most recent taxonomy.
It is advisable to install the accounting with the related Chart of Accounts before installing this module, to allow the automatic association of the accounts of the Italian Chart of Accounts to the items of the EU financial statements.
It will then be possible to modify the associations or integrate the missing ones via the Configuration / Chart of Accounts / SETUP

Usage
=====

**Italiano**

La maschera "Contabilità / Configurazione / Piano dei conti" è stata arricchita con due
nuovi campi "Associa a Bilancio UE / Dare" e ".../ Avere" che consentono di
definire la riclassificazione dei conti, riclassificazione che viene impostata
a valori predefiniti durante l’installazione del modulo.
Dei due campi "Dare" e "Avere" uno solo dei due è obbligatorio ai fini del report e in caso
siano presenti entrambi vengono usati in base al segno del saldo del valore annuale del
conto contabile.

La nuova voce di menù "Contabilità / Rendicontazione / Bilancio UE" consente di selezionare il periodo e
scegliere la modalità di esportazione del Bilancio UE.
Nel wizard di “Bilancio UE” sono presenti le seguenti opzioni di generazione:

* Visualizza valori [2 decimali di Euro / unità di Euro]: consente di stampare i valori del bilancio in Euro (con due decimali) o in unità di Euro (senza decimali). In caso si selezioni “unità di Euro” gli eventuali delta da arrotondamenti vengono riportati in automatico su due apposite voci (una nel Passivo e una nel Conto Economico). I saldi dei conti contabili verranno stampati comunque con 2 decimali
* Nascondere conti a 0: consente di non visualizzare i conti contabili con saldo a 0 e che quindi non influiscono nel calcolo delle voci del bilancio. Il bilancio UE verrà comunque visualizzato completo, con anche le voci con importo 0
* Solo registrazioni confermate: per utilizzare solo le registrazioni contabili confermate (ignora bozze e annullate)
* Ignora registrazioni di chiusura: consente di stampare un Bilancio UE corretto anche in caso sia già stata effettuata la chiusura d’esercizio e quindi tutti i conti contabili siano a saldo 0 al 31/12. Se per effettuare la chiusura d’esercizio è stato utilizzato il modulo “account_fiscal_year_closing”, questa opzione consente di ignorare le registrazioni contabili di chiusura

**English**

The "Accounting / Configuration / Chart of Accounts" mask has been enriched with two
new fields "Match to Financial statement EU / Debit" and "... / Credit" that allow you to
define the reclassification of accounts, a reclassification that is set
to default values during installation of the module.
Of the two fields "Debit" and "Credit" only one of the two is mandatory for the purposes of the report and in the case
are present both are used according to the sign of the financial statements of the annual value of
accounting account.

The new menu item "Accounting / Reporting / Financial statement EU" allows you to select the period and
choose how to export the EU financial statements.
The following generation options are present in the "Financial statement EU" wizard:

* Values show as [2 decimals Euro / Euro units] : allows to print the values in Euros (with two decimals) or in Euro units (without decimals). If "Euro units" is selected, any delta from rounding is automatically reported on two specific Items (one in the Liabilities and one in the Income Statement).
* Hide account with amount 0: allows to not display the accounts with a balance at 0 and which therefore have no influence on the calculation of the financial statements items. The financial statements will be anyway displayed complete, even then items with amount 0
* Use only posted registration: to use confirmed postings only (ignore drafts and cancelled)
* Ignore closing registration: allows you to print a correct EU financial statements even if the year-end has already been closed and therefore all accounting accounts have a balance of 0 as at 31/12. If the "account_fiscal_year_closing" module was used to carry out the year-end closing, this option allows you to ignore the closing moves

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_financial_statement_eu%0Aversion:%2016.0-mig-l10n_it_financial_statement_eu%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
~~~~~~~

* MKT Srl

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

* Martinelli Andrea (analisi/sviluppo) <https://github.com/TennyMkt>
* Bellomi Luca (analisi/supporto) <https://github.com/mktsrl>
* Allegretti Daniele (analisi/supervisione/consulenza) <https://www.mkt.it/>

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.

.. |maintainer-mktsrl| image:: https://github.com/mktsrl.png?size=40px
:target: https://github.com/mktsrl
:alt: mktsrl

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-mktsrl|

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/16.0-mig-l10n_it_financial_statement_eu/l10n_it_financial_statement_eu>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
9 changes: 9 additions & 0 deletions l10n_it_financial_statement_eu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2023 Associazione Odoo Italia (<http://www.odoo-italia.org>)
# Copyright 2023 MKT Srl (<www.mkt.it>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
from . import report
from . import wizard

from .hooks import _l10n_it_financial_statement_eu_post_init
40 changes: 40 additions & 0 deletions l10n_it_financial_statement_eu/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2022 Associazione Odoo Italia (<http://www.odoo-italia.org>)
# Copyright 2022 MKT Srl (<www.mkt.it>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# last update: 2023-05-23

{
"name": "ITA - Bilancio UE con XBRL",
"version": "16.0.1.0.0",
"category": "Localization/Italy",
"development_status": "Alpha",
"license": "AGPL-3",
"author": "MKT Srl, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"maintainers": ["mktsrl"],
"depends": [
"account",
"date_range",
"l10n_it_rea",
"l10n_it_fiscalcode",
"report_xlsx",
"report_xml",
],
"assets": {
"web.assets_backend": [
"l10n_it_financial_statement_eu/static/src/js/client_action.esm.js",
"l10n_it_financial_statement_eu/static/src/xml/report.xml",
],
},
"data": [
"security/financial_statement_eu_security.xml",
"data/financial.statement.eu.csv",
"report/templates/layouts.xml",
"report/financial_statement_eu_report.xml",
"views/financial_statement_eu_view.xml",
"wizard/financial_statement_eu_wizard.xml",
],
"application": False,
"installable": True,
"post_init_hook": "_l10n_it_financial_statement_eu_post_init",
}
Loading
Loading