Skip to content

Commit

Permalink
Merge PR #4402 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by primes2h
  • Loading branch information
OCA-git-bot committed Dec 15, 2024
2 parents e69a777 + 4bd4fc5 commit e2c3b5f
Show file tree
Hide file tree
Showing 27 changed files with 2,016 additions and 0 deletions.
187 changes: 187 additions & 0 deletions l10n_it_account_stamp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
======================
ITA - Imposta di bollo
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a81fbb48d1af1704b5039d1b6239009736a6f4983e7441b65359d85f54064061
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/18.0/l10n_it_account_stamp
: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-18-0/l10n-italy-18-0-l10n_it_account_stamp
: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=18.0
:alt: Try me on Runboat

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

**Italiano**

Questo modulo aggiunge il supporto all'imposta di bollo italiana nelle
fatture e nelle ricevute.

**English**

This module adds Italian Stamp Duty support in invoices and receipts.

**Table of contents**

.. contents::
:local:

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

**Italiano**

Per modificare le impostazioni sul prodotto "Imposta di bollo 2 euro" è
necessario abilitare le funzioni complete per la contabilità:

1. Impostazioni -> Utenti e aziende -> Gruppi
2. Cercare il gruppo "Mostrare funzionalità contabili complete" e
selezionarlo
3. Nel tab "Utenti" aggiungere l'utente e salvare

Modalità automatica:

- andare sul prodotto "Imposta di bollo 2 euro" e configurare "Imposte
per bollo" (Imposte in esenzione).
- per ciascuna fattura o ricevuta, l'applicabilità dell'imposta di
bollo verrà calcolata in modo automatico in base alla somma degli
imponibili relativi alle imposte selezionate.

Modalità manuale:

- andare sul prodotto "Imposta di bollo 2 euro" e deselezionare la
casella "Calcolo automatico".
- per ciascuna fattura o ricevuta, abilitare manualmente la casella di
selezione "Imposta di bollo". L'applicabilità dell'imposta di bollo
verrà calcolata in base alla somma degli imponibili relativi alle
imposte selezionate.

Impostare i conti di ricavo/costo nella scheda "Contabilità",
generalmente ricavo="Debiti per bolli" e costo="Valori bollati".

**English**

In order to change 'Stamp duty 2 euro' product settings, enable full
accounting features:

1. Settings -> Users & Companies -> Groups
2. Search "Show Full Accounting Features" group and select it
3. In "Users" Tab, add user and save

Automatic mode:

- Go to 'Stamp duty 2 euro' product and configure 'Stamp taxes'
(exemption taxes).
- For each invoice or receipt, the base amount for each selected tax
will be added up and used to determine the application of the account
stamp.

Manual mode:

- Go to 'Stamp duty 2 euro' product and deselect 'Auto-compute'
checkbox.
- For each invoice or receipt, manually enable 'Stamp Duty' checkbox.

Also set income/expense accounts, typically income = 'Debiti per bolli'
and expense = 'Valori bollati'.

Usage
=====

**Italiano**

Se nella fattura o ricevuta è previsto l'addebito dell'imposta di bollo
al cliente, fare clic sul pulsante "Aggiungi riga bollo" per aggiungere
una riga relativa all'imposta di bollo.

In caso contrario, l'imposta di bollo verrà comunque considerata ma non
verrà addebitata al cliente.

**English**

In invoice or receipt form, when applicable, click 'Add stamp duty line'
button to add stamp duty as invoice line, thus charging customer.

Otherwise, stamp duty will be anyway accounted, without charging
customer.

Known issues / Roadmap
======================

\*\* Italiano \*\*

Sono stati aggiunti gli script di migrazione, da provare quando saranno
rilasciati quelli relativi ad ``account``.

\*\* English \*\*

Migration scripts have been added, to be tested when ``account`` related
ones will be released.

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_account_stamp%0Aversion:%2018.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
-------

* Ermanno Gnan
* Sergio Corato
* Enrico Ganzaroli

Contributors
------------

- Lorenzo Battistini <https://github.com/eLBati>
- Sergio Corato
- Ermanno Gnan
- Enrico Ganzaroli
- Sergio Zanchetta <https://github.com/primes2h>
- Marco Colombo <https://github.com/TheMule71>
- Gianmarco Conte <[email protected]>
- Giovanni Serra <[email protected]>
- `Aion Tech <https://aiontech.company/>`__:

- Simone Rubino <[email protected]>

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/18.0/l10n_it_account_stamp>`_ project on GitHub.

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

from . import models
30 changes: 30 additions & 0 deletions l10n_it_account_stamp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2018 Sergio Corato (https://efatto.it)
# Copyright 2018 Enrico Ganzaroli ([email protected])
# Copyright 2018 Ermanno Gnan ([email protected])
# Copyright 2018 Lorenzo Battistini (https://github.com/eLBati)
# Copyright 2018-2020 Sergio Zanchetta (https://github.com/primes2h)
# Copyright 2021 Gianmarco Conte <[email protected]>
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

{
"name": "ITA - Imposta di bollo",
"version": "18.0.1.0.0",
"category": "Localization/Italy",
"summary": "Gestione automatica dell'imposta di bollo",
"author": "Ermanno Gnan, Sergio Corato, Enrico Ganzaroli, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "LGPL-3",
"depends": [
"product",
"account",
],
"data": [
"data/data.xml",
"views/account_move_view.xml",
"views/product_view.xml",
"views/company_view.xml",
"views/account_move_report.xml",
],
"installable": True,
}
26 changes: 26 additions & 0 deletions l10n_it_account_stamp/data/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="l10n_it_account_stamp_2_euro" model="product.product">
<field name="name">Stamp duty 2 euro</field>
<field name="type">service</field>
<field name="list_price" eval="2.0" />
<field name="standard_price" eval="2.0" />
<field
name="description_sale"
>Stamp duty payment under the terms of Art. 6, Subsection 2 of MEF Decree June
17, 2014
</field>
<field name="l10n_it_account_stamp_is_stamp" eval="True" />
<field name="l10n_it_account_stamp_auto_compute" eval="True" />
<field name="l10n_it_account_stamp_tax_apply_min_total_base" eval="77.47" />
<field name="taxes_id" eval="[(6, 0, [])]" />
<field name="supplier_taxes_id" eval="[(6, 0, [])]" />
</record>

<record id="base.main_company" model="res.company">
<field
name="l10n_it_account_stamp_stamp_duty_product_id"
ref="l10n_it_account_stamp.l10n_it_account_stamp_2_euro"
/>
</record>
</odoo>
Loading

0 comments on commit e2c3b5f

Please sign in to comment.