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: Migration to 14.0 #2150

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3d43dca
[8.0] add account stamp management
sergiocorato Dec 7, 2018
020d5cf
porting l10n_it_account_stamp to 10
eLBati Dec 17, 2018
2f2d517
REF l10n_it_account_stamp with invoice bool, add line button and jour…
eLBati Dec 19, 2018
35a99f1
porting l10n_it_account_stamp and l10n_it_fatturapa_out_stamp to 12
eLBati Dec 24, 2018
7c03702
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 2, 2019
bfcee4f
[FIX] add default product stamp in company (#799)
primes2h Jan 8, 2019
52dd20d
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 8, 2019
0166b46
[FIX] use stamp in invoicing environment (#801)
primes2h Jan 8, 2019
051e821
FIX l10n_it_account_stamp: recompute taxes when adding stamp to lines…
eLBati Jan 11, 2019
bfeb87e
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 11, 2019
1933457
Translated using Weblate (Italian)
primes2h Jan 15, 2019
113a0e2
[FIX] move stamp checkbox to avoid misleading
primes2h Jan 22, 2019
104b108
Translated using Weblate (Italian)
primes2h Jan 22, 2019
4e241e1
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 23, 2019
6f5d2e2
Update translation files
oca-transbot Jan 25, 2019
9d56cdd
Translated using Weblate (Italian)
primes2h Jan 25, 2019
08af426
[IMP] l10n_account_stamp add manual mode
primes2h Jan 23, 2019
7288501
[FIX] decree month in source string
primes2h Jan 28, 2019
4a10a40
[UPD] Update l10n_it_account_stamp.pot
oca-travis Jan 30, 2019
a0a9143
Update translation files
oca-transbot Feb 3, 2019
d8f276c
Translated using Weblate (Italian)
primes2h Feb 4, 2019
2542d45
[UPD] README.rst
OCA-git-bot Jul 29, 2019
2ab4dc8
Translated using Weblate (Italian)
primes2h Dec 23, 2019
b0a9e84
Translated using Weblate (Italian)
primes2h Jan 7, 2020
1becb3d
Fix l10n_it_account_stamp: tax_stamp computation.
eLBati May 4, 2020
5aea68a
merge PR 1264 1717 1728 1737 1739
May 13, 2020
e85443f
[UPD] Update l10n_it_account_stamp.pot
oca-travis May 13, 2020
c66bd4e
Update translation files
oca-transbot May 13, 2020
fed2d3c
[FIX] show stamp duty parameters in manual mode
primes2h Dec 12, 2020
980ee7e
[UPD] Update l10n_it_account_stamp.pot
oca-travis Dec 21, 2020
864e4b6
[UPD] README.rst
OCA-git-bot Dec 21, 2020
570733d
l10n_it_account_stamp 12.0.1.1.3
OCA-git-bot Dec 21, 2020
38c5ce4
Update translation files
oca-transbot Dec 21, 2020
1e356bf
[IMP] l10n_it_account_stamp: black, isort, prettier
TheMule71 Mar 4, 2021
a6172c5
[MIG] l10n_it_account_stamp: Migration to 14.0
TheMule71 Mar 4, 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
136 changes: 136 additions & 0 deletions l10n_it_account_stamp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
=======================================
Italian Localization - 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/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/l10n-italy-14-0-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
: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%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>

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/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 Marco Colombo (https://github.com/TheMule71)
# 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/invoice_view.xml",
"views/product_view.xml",
"views/company_view.xml",
],
"installable": True,
}
29 changes: 29 additions & 0 deletions l10n_it_account_stamp/data/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" ?>
<openerp>
<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>
</openerp>
Loading