Skip to content

Commit

Permalink
[MIG] l10n_it_account_tax_kind: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jado95 committed Apr 2, 2021
1 parent 19df7dc commit e0ad6b6
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 8 deletions.
8 changes: 5 additions & 3 deletions l10n_it_account_tax_kind/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# @author Francesco Apruzzese <[email protected]>
# Copyright 2017 Alex Comba - Agile Business Group
# Copyright 2018 Lorenzo Battistini <https://github.com/eLBati>
# Copyright 2021 Gianmarco Conte <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Italian Localisation - Natura delle aliquote IVA",
"version": "12.0.2.0.0",
"name": "ITA - Natura delle aliquote IVA",
"version": "14.0.1.0.0",
"development_status": "Production/Stable",
"category": "Localisation/Italy",
"category": "Localization/Italy",
"summary": "Gestione natura delle aliquote IVA",
"author": "Odoo Community Association (OCA), Apulia Software s.r.l",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
Expand Down
2 changes: 0 additions & 2 deletions l10n_it_account_tax_kind/model/account_tax_kind.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@


class AccountTaxKind(models.Model):

_name = "account.tax.kind"
_description = "Tax exemption kind"

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

@api.multi
def name_get(self):
res = []
for tax_kind in self:
Expand Down
11 changes: 10 additions & 1 deletion l10n_it_account_tax_kind/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
**Italiano**

Per configurare questo modulo, hai bisogno di:

#. Andare in Fatturazione -> Configurazione -> Fiscalità italiana -> Natura esenzione imposta
#. Crea una nuova Natura esenzione imposta o modificane una esistente

**English**

To configure this module, you need to:

#. Go to Accounting -> Configuration -> Taxes -> Italian Localization -> Tax Exemption Kind
#. Go to Accounting -> Configuration -> Italian Localization -> Tax Exemption Kind
#. Create a new exemption kind or modify existing one
8 changes: 8 additions & 0 deletions l10n_it_account_tax_kind/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
**Italiano**

Questo modulo estende la funzionalità delle imposte.

Con questo modulo è possibile settare un tipo di esenzione per ogni imposta.

**English**

This module extends the functionality of account tax.

With this module is possibile to set a kind of exemption for every account tax you need.
9 changes: 9 additions & 0 deletions l10n_it_account_tax_kind/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
**Italiano**

Per usare questo modulo, hai bisogno di:

#. Andare su Fatturazione -> Configurazione -> Contabilità -> Imposte
#. Apri l'imposta da modificare, vai al tab "Opzioni Avanzate" e imposta un valore a natura esenzione

**English**

To use this module, you need to:

#. Go to Accounting -> Configuration -> Accounting -> Taxes
Expand Down
1 change: 0 additions & 1 deletion l10n_it_account_tax_kind/view/account_tax_kind_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<field name="name">Tax Exemption Kind</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.tax.kind</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="view_account_tax_kind_tree" />
</record>
Expand Down
2 changes: 1 addition & 1 deletion l10n_it_account_tax_kind/view/account_tax_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='tag_ids']" position="after">
<xpath expr="//field[@name='tax_group_id']" position="after">
<field name="kind_id" />
<field
name="law_reference"
Expand Down

0 comments on commit e0ad6b6

Please sign in to comment.