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_account_stamp: Migrazione a 18.0 #4402

Open
wants to merge 41 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c066529
[8.0] add account stamp management
sergiocorato Dec 7, 2018
c826c2c
porting l10n_it_account_stamp to 10
eLBati Dec 17, 2018
8284d70
REF l10n_it_account_stamp with invoice bool, add line button and jour…
eLBati Dec 19, 2018
5c7a7ab
porting l10n_it_account_stamp and l10n_it_fatturapa_out_stamp to 12
eLBati Dec 24, 2018
f5a0b70
[FIX] add default product stamp in company (#799)
primes2h Jan 8, 2019
238008f
[FIX] use stamp in invoicing environment (#801)
primes2h Jan 8, 2019
af1a501
FIX l10n_it_account_stamp: recompute taxes when adding stamp to lines…
eLBati Jan 11, 2019
da9fad5
Translated using Weblate (Italian)
primes2h Jan 15, 2019
729a9a6
[FIX] move stamp checkbox to avoid misleading
primes2h Jan 22, 2019
3619ed3
Translated using Weblate (Italian)
primes2h Jan 22, 2019
3d8f6af
Translated using Weblate (Italian)
primes2h Jan 25, 2019
2fd59ca
[IMP] l10n_account_stamp add manual mode
primes2h Jan 23, 2019
321bf90
[FIX] decree month in source string
primes2h Jan 28, 2019
2f76207
Translated using Weblate (Italian)
primes2h Feb 4, 2019
4da328c
Translated using Weblate (Italian)
primes2h Dec 23, 2019
317ed73
Translated using Weblate (Italian)
primes2h Jan 7, 2020
f1b8ec9
Fix l10n_it_account_stamp: tax_stamp computation.
eLBati May 4, 2020
9a13b4c
merge PR 1264 1717 1728 1737 1739
May 13, 2020
1598071
[FIX] show stamp duty parameters in manual mode
primes2h Dec 12, 2020
5ee105b
FIX l10n_it_account_stamp when auto_compute_stamp is False
eLBati Mar 10, 2021
c2cf7aa
Revert "[FIX] show stamp duty parameters in manual mode"
eLBati Mar 24, 2021
1ff4a9d
[IMP] l10n_it_account_stamp: black, isort, prettier
jado95 Apr 9, 2021
6fa3260
[MIG] l10n_it_account_stamp: Migration to 14.0
jado95 Jan 15, 2021
03e4f5d
Translated using Weblate (Italian)
primes2h May 6, 2021
1f5dc76
[FIX] l10n_it_account_stamp: Keep lines descriptions when adding stamp
SimoRubi Nov 10, 2021
41dd2f6
[14.0][FIX] l10n_it_account_stamp: force invoice currency in tax stam…
fredzamoabg Jan 5, 2022
0f5253b
[14.0][IMP] l10n_it_account_stamp, move product setting to accounting…
GSLabIt Jan 24, 2022
a1c0b8e
[ADD] post-migrate script to migrate tax_stamp
tafaRU Feb 22, 2022
ff002ed
[IMP] l10n_it_account_stamp: add receipt info in readme
primes2h Jul 19, 2022
8217bb6
[MIG] l10n_it_account_stamp: Migration to 16.0
jado95 Nov 10, 2022
9426535
Translated using Weblate (Italian)
mymage Apr 21, 2023
96ad0fc
[IMP] l10n_it_account_stamp: print legal statement in invoice report
tafaRU Jul 6, 2023
e263324
[FIX][l10n_it_account_stamp] fix xpath to avoid error on update all E…
matteoopenf Jul 13, 2023
8928f41
Translated using Weblate (Italian)
mymage Jul 24, 2023
33d737d
[FIX] l10n_it_account_stamp: fix tests, prevent ValueError: Expected …
tafaRU Nov 14, 2023
e4cb086
FIX l10n_it_account_stamp for multi-company env
eLBati Jan 16, 2024
efcb87e
Updated from template
SirAionTech Nov 17, 2023
d1389bd
[REF] l10n_it_account_stamp: Reformatted after template update
SirAionTech Nov 17, 2023
b402893
[IMP] l10n_it_account_stamp: Usability for stamp in invoice.
SimoRubi Oct 4, 2021
2515728
Translated using Weblate (Italian)
mymage Jul 15, 2024
4bd4fc5
[MIG] l10n_it_account_stamp: Migration to 18.0
SirAionTech Sep 12, 2024
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
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 <gconte@dinamicheaziendali.it>
- Giovanni Serra <giovanni@gslab.it>
- `Aion Tech <https://aiontech.company/>`__:

- Simone Rubino <simone.rubino@aion-tech.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.

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 (enrico.gz@gmail.com)
# Copyright 2018 Ermanno Gnan (ermannognan@gmail.com)
# Copyright 2018 Lorenzo Battistini (https://github.com/eLBati)
# Copyright 2018-2020 Sergio Zanchetta (https://github.com/primes2h)
# Copyright 2021 Gianmarco Conte <gconte@dinamicheaziendali.it>
# 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
Loading