Skip to content

Commit 3a00f31

Browse files
committed
[MIG] l10n_it_account_tax_kind: Migration to 14.0
1 parent 19df7dc commit 3a00f31

8 files changed

Lines changed: 68 additions & 17 deletions

File tree

l10n_it_account_tax_kind/README.rst

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
================================================
2-
Italian Localisation - Natura delle aliquote IVA
3-
================================================
1+
===============================
2+
ITA - Natura delle aliquote IVA
3+
===============================
44

55
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
66
!! This file is generated by oca-gen-addon-readme !!
@@ -14,17 +14,25 @@ Italian Localisation - Natura delle aliquote IVA
1414
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1515
:alt: License: AGPL-3
1616
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
17-
:target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_account_tax_kind
17+
:target: https://github.com/OCA/l10n-italy/tree/14.0--mig-l10n_it_account_tax_kind/l10n_it_account_tax_kind
1818
:alt: OCA/l10n-italy
1919
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_tax_kind
20+
:target: https://translation.odoo-community.org/projects/l10n-italy-14-0--mig-l10n_it_account_tax_kind/l10n-italy-14-0--mig-l10n_it_account_tax_kind-l10n_it_account_tax_kind
2121
:alt: Translate me on Weblate
2222
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/122/12.0
23+
:target: https://runbot.odoo-community.org/runbot/122/14.0--mig-l10n_it_account_tax_kind
2424
:alt: Try me on Runbot
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
2727

28+
**Italiano**
29+
30+
Questo modulo estende la funzionalità delle imposte.
31+
32+
Con questo modulo è possibile settare un tipo di esenzione per ogni imposta.
33+
34+
**English**
35+
2836
This module extends the functionality of account tax.
2937

3038
With this module is possibile to set a kind of exemption for every account tax you need.
@@ -37,14 +45,32 @@ With this module is possibile to set a kind of exemption for every account tax y
3745
Configuration
3846
=============
3947

48+
**Italiano**
49+
50+
Per configurare questo modulo, hai bisogno di:
51+
52+
#. Andare in Fatturazione -> Configurazione -> Fiscalità italiana -> Natura esenzione imposta
53+
#. Creare una nuova Natura esenzione imposta o modificarne una esistente
54+
55+
**English**
56+
4057
To configure this module, you need to:
4158

42-
#. Go to Accounting -> Configuration -> Taxes -> Italian Localization -> Tax Exemption Kind
59+
#. Go to Accounting -> Configuration -> Italian Localization -> Tax Exemption Kind
4360
#. Create a new exemption kind or modify existing one
4461

4562
Usage
4663
=====
4764

65+
**Italiano**
66+
67+
Per usare questo modulo, c'è bisogno di:
68+
69+
#. Andare su Fatturazione -> Configurazione -> Contabilità -> Imposte
70+
#. Aprire l'imposta da modificare, andare al tab "Opzioni Avanzate" e impostare un valore a natura esenzione
71+
72+
**English**
73+
4874
To use this module, you need to:
4975

5076
#. Go to Accounting -> Configuration -> Accounting -> Taxes
@@ -56,7 +82,7 @@ Bug Tracker
5682
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
5783
In case of trouble, please check there if your issue has already been reported.
5884
If you spotted it first, help us smashing it by providing a detailed and welcomed
59-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_account_tax_kind%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
85+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_account_tax_kind%0Aversion:%2014.0--mig-l10n_it_account_tax_kind%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6086

6187
Do not contact contributors directly about support or help with technical issues.
6288

@@ -89,6 +115,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
89115
mission is to support the collaborative development of Odoo features and
90116
promote its widespread use.
91117

92-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_account_tax_kind>`_ project on GitHub.
118+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0--mig-l10n_it_account_tax_kind/l10n_it_account_tax_kind>`_ project on GitHub.
93119

94120
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_account_tax_kind/__manifest__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
# @author Francesco Apruzzese <f.apruzzese@apuliasoftware.it>
33
# Copyright 2017 Alex Comba - Agile Business Group
44
# Copyright 2018 Lorenzo Battistini <https://github.com/eLBati>
5+
# Copyright 2021 Gianmarco Conte <gconte@dinamicheaziendali.it>
56
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
67

78
{
8-
"name": "Italian Localisation - Natura delle aliquote IVA",
9-
"version": "12.0.2.0.0",
9+
"name": "ITA - Natura delle aliquote IVA",
10+
"version": "14.0.1.0.0",
1011
"development_status": "Production/Stable",
11-
"category": "Localisation/Italy",
12+
"category": "Localization/Italy",
13+
"summary": "Gestione natura delle aliquote IVA",
1214
"author": "Odoo Community Association (OCA), Apulia Software s.r.l",
1315
"website": "https://github.com/OCA/l10n-italy",
1416
"license": "AGPL-3",

l10n_it_account_tax_kind/model/account_tax_kind.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33

44
class AccountTaxKind(models.Model):
5-
65
_name = "account.tax.kind"
76
_description = "Tax exemption kind"
87

98
code = fields.Char(string="Code", size=4, required=True)
109
name = fields.Char(string="Name", required=True)
1110

12-
@api.multi
1311
def name_get(self):
1412
res = []
1513
for tax_kind in self:
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
**Italiano**
2+
3+
Per configurare questo modulo, hai bisogno di:
4+
5+
#. Andare in Fatturazione -> Configurazione -> Fiscalità italiana -> Natura esenzione imposta
6+
#. Creare una nuova natura esenzione imposta o modificarne una esistente
7+
8+
**English**
9+
110
To configure this module, you need to:
211

3-
#. Go to Accounting -> Configuration -> Taxes -> Italian Localization -> Tax Exemption Kind
12+
#. Go to Accounting -> Configuration -> Italian Localization -> Tax Exemption Kind
413
#. Create a new exemption kind or modify existing one
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
**Italiano**
2+
3+
Questo modulo estende la funzionalità delle imposte.
4+
5+
Con questo modulo è possibile settare un tipo di esenzione per ogni imposta.
6+
7+
**English**
8+
19
This module extends the functionality of account tax.
210

311
With this module is possibile to set a kind of exemption for every account tax you need.

l10n_it_account_tax_kind/readme/USAGE.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
**Italiano**
2+
3+
Per usare questo modulo, c'è bisogno di:
4+
5+
#. Andare su Fatturazione -> Configurazione -> Contabilità -> Imposte
6+
#. Aprire l'imposta da modificare, andare al tab "Opzioni Avanzate" e impostare un valore a natura esenzione
7+
8+
**English**
9+
110
To use this module, you need to:
211

312
#. Go to Accounting -> Configuration -> Accounting -> Taxes

l10n_it_account_tax_kind/view/account_tax_kind_view.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<field name="name">Tax Exemption Kind</field>
3030
<field name="type">ir.actions.act_window</field>
3131
<field name="res_model">account.tax.kind</field>
32-
<field name="view_type">form</field>
3332
<field name="view_mode">tree,form</field>
3433
<field name="view_id" ref="view_account_tax_kind_tree" />
3534
</record>

l10n_it_account_tax_kind/view/account_tax_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<field name="model">account.tax</field>
77
<field name="inherit_id" ref="account.view_tax_form" />
88
<field name="arch" type="xml">
9-
<xpath expr="//field[@name='tag_ids']" position="after">
9+
<xpath expr="//field[@name='tax_group_id']" position="after">
1010
<field name="kind_id" />
1111
<field
1212
name="law_reference"

0 commit comments

Comments
 (0)