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

14.0 mig l10n it account stamp #2077

Merged
merged 41 commits into from
Apr 9, 2021
Merged
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
755068c
[8.0] add account stamp management
sergiocorato Dec 7, 2018
c56966e
porting l10n_it_account_stamp to 10
eLBati Dec 17, 2018
6796f93
REF l10n_it_account_stamp with invoice bool, add line button and jour…
eLBati Dec 19, 2018
2be121e
porting l10n_it_account_stamp and l10n_it_fatturapa_out_stamp to 12
eLBati Dec 24, 2018
53e7e7a
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 2, 2019
eb624df
[FIX] add default product stamp in company (#799)
primes2h Jan 8, 2019
8c23867
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 8, 2019
87ceb5a
[FIX] use stamp in invoicing environment (#801)
primes2h Jan 8, 2019
ff2d492
FIX l10n_it_account_stamp: recompute taxes when adding stamp to lines…
eLBati Jan 11, 2019
30f3052
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 11, 2019
4cb4be8
Translated using Weblate (Italian)
primes2h Jan 15, 2019
e18efe8
[FIX] move stamp checkbox to avoid misleading
primes2h Jan 22, 2019
28a4c7f
Translated using Weblate (Italian)
primes2h Jan 22, 2019
8f9d47b
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 23, 2019
2ee2c2f
Update translation files
oca-transbot Jan 25, 2019
e7e0792
Translated using Weblate (Italian)
primes2h Jan 25, 2019
62613f8
[IMP] l10n_account_stamp add manual mode
primes2h Jan 23, 2019
49b25a2
[FIX] decree month in source string
primes2h Jan 28, 2019
e48a57b
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 30, 2019
79d5511
Update translation files
oca-transbot Feb 3, 2019
31f0ac2
Translated using Weblate (Italian)
primes2h Feb 4, 2019
02b2e3d
[UPD] README.rst
OCA-git-bot Jul 29, 2019
ad09ac3
Translated using Weblate (Italian)
primes2h Dec 23, 2019
558c26a
Translated using Weblate (Italian)
primes2h Jan 7, 2020
290c537
Fix l10n_it_account_stamp: tax_stamp computation.
eLBati May 4, 2020
47e9329
merge PR 1264 1717 1728 1737 1739
May 13, 2020
a3e7f07
[UPD] Update l10n_it_account_stamp.pot
oca-travis May 13, 2020
d3b3c51
Update translation files
oca-transbot May 13, 2020
9f792d8
[FIX] show stamp duty parameters in manual mode
primes2h Dec 12, 2020
634865c
[UPD] Update l10n_it_account_stamp.pot
oca-travis Dec 21, 2020
d0411e4
[UPD] README.rst
OCA-git-bot Dec 21, 2020
0d517e8
l10n_it_account_stamp 12.0.1.1.3
OCA-git-bot Dec 21, 2020
2b062b1
Update translation files
oca-transbot Dec 21, 2020
2226485
FIX l10n_it_account_stamp when auto_compute_stamp is False
eLBati Mar 10, 2021
8c830b7
Revert "[FIX] show stamp duty parameters in manual mode"
eLBati Mar 24, 2021
e3095f3
[UPD] Update l10n_it_account_stamp.pot
oca-travis Mar 25, 2021
0b998b4
[UPD] README.rst
OCA-git-bot Mar 25, 2021
2c841f8
l10n_it_account_stamp 12.0.1.1.4
OCA-git-bot Mar 25, 2021
b0da389
Update translation files
oca-transbot Mar 25, 2021
d6ca103
[IMP] l10n_it_account_stamp: black, isort, prettier
jado95 Apr 9, 2021
5a28e65
[MIG] l10n_it_account_stamp: Migration to 14.0
jado95 Jan 15, 2021
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
137 changes: 137 additions & 0 deletions l10n_it_account_stamp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
======================
ITA - Imposta di bollo
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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--add-14.0-mig-l10n_it_account_stamp/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-14-0--add-14-0-mig-l10n_it_account_stamp/l10n-italy-14-0--add-14-0-mig-l10n_it_account_stamp-l10n_it_account_stamp
: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--add-14.0-mig-l10n_it_account_stamp
:alt: Try me on Runbot

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

**Italiano**

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

**English**

This module adds Italian Tax Stamp support in invoices.

**Table of contents**

.. contents::
:local:

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

**Italiano**

Modalità automatica:

- andare sul prodotto "Imposta di bollo 2 euro" e configurare "Imposte marca da bollo" (Imposte in esenzione).

- per ciascuna fattura, 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, 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**

Automatic mode:

- Go to 'Tax Stamp 2 euro' product and configure 'Stamp taxes' (exemption taxes).

- For each invoice, the base amount for each selected tax will be added up and used to automatically determine the application of the account stamp.

Manual mode:

- Go to 'Tax Stamp 2 euro' product and deselect 'Auto-compute' checkbox.

- For each invoice, manually enable 'Tax Stamp' checkbox. The base amount for each selected tax will be added up and used to determine the application of the account stamp.

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

Usage
=====

**Italiano**

Se nella fattura è 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 form, when applicable, click 'Add tax stamp line' button to add tax stamp as invoice line, thus charging customer.

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

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_account_stamp%0Aversion:%2014.0--add-14.0-mig-l10n_it_account_stamp%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>

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--add-14.0-mig-l10n_it_account_stamp/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
29 changes: 29 additions & 0 deletions l10n_it_account_stamp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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": "14.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",
],
"installable": True,
}
30 changes: 30 additions & 0 deletions l10n_it_account_stamp/data/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">

<record id="l10n_it_account_stamp_2_euro" model="product.product">
<field name="name">Tax Stamp 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="is_stamp" eval="True" />
<field name="auto_compute" eval="True" />
<field name="stamp_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="tax_stamp_product_id"
ref="l10n_it_account_stamp.l10n_it_account_stamp_2_euro"
/>
</record>

</data>
</odoo>
Loading