diff --git a/l10n_it_account_tax_kind/README.rst b/l10n_it_account_tax_kind/README.rst index 595ca3bcb9e6..792be8b4013b 100644 --- a/l10n_it_account_tax_kind/README.rst +++ b/l10n_it_account_tax_kind/README.rst @@ -1,6 +1,6 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl + :alt: License: LGPL-3 ================ Account Tax Kind @@ -32,7 +32,7 @@ open the tax to modify and set a Kind value .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/122/8.0 + :target: https://runbot.odoo-community.org/runbot/122/10.0 Bug Tracker =========== @@ -54,6 +54,7 @@ Contributors ------------ * Apruzzese Francesco +* Lorenzo Battistini Do not contact contributors directly about support or help with technical issues. diff --git a/l10n_it_account_tax_kind/__init__.py b/l10n_it_account_tax_kind/__init__.py index 6190ff7d2a80..19e655939c66 100644 --- a/l10n_it_account_tax_kind/__init__.py +++ b/l10n_it_account_tax_kind/__init__.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -# -# Copyright (C) 2017 Apulia Software s.r.l. (http://www.apuliasoftware.it) -# @author Francesco Apruzzese -# -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from . import model diff --git a/l10n_it_account_tax_kind/__openerp__.py b/l10n_it_account_tax_kind/__manifest__.py similarity index 75% rename from l10n_it_account_tax_kind/__openerp__.py rename to l10n_it_account_tax_kind/__manifest__.py index e5b2a5c28712..1697a1dc5b35 100644 --- a/l10n_it_account_tax_kind/__openerp__.py +++ b/l10n_it_account_tax_kind/__manifest__.py @@ -3,17 +3,17 @@ # Copyright (C) 2017 Apulia Software s.r.l. (http://www.apuliasoftware.it) # @author Francesco Apruzzese # -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). { 'name': 'Italian Localisation - Natura delle aliquote IVA', - 'version': '8.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Localisation/Italy', 'author': "Odoo Community Association (OCA), Apulia Software s.r.l", - 'website': 'https://odoo-community.org/', - 'license': 'AGPL-3', + 'website': 'https://www.odoo-italia.net/', + 'license': 'LGPL-3', 'depends': [ - 'account', + 'l10n_it_account', ], 'data': [ 'view/account_tax_kind_view.xml', diff --git a/l10n_it_account_tax_kind/model/__init__.py b/l10n_it_account_tax_kind/model/__init__.py index 4878353a95fd..9552cd6ba00b 100644 --- a/l10n_it_account_tax_kind/model/__init__.py +++ b/l10n_it_account_tax_kind/model/__init__.py @@ -1,9 +1,5 @@ # -*- coding: utf-8 -*- -# -# Copyright (C) 2017 Apulia Software s.r.l. (http://www.apuliasoftware.it) -# @author Francesco Apruzzese -# -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from . import account_tax_kind from . import account diff --git a/l10n_it_account_tax_kind/model/account.py b/l10n_it_account_tax_kind/model/account.py index 60effee66289..c76b0bb847f3 100644 --- a/l10n_it_account_tax_kind/model/account.py +++ b/l10n_it_account_tax_kind/model/account.py @@ -1,11 +1,7 @@ # -*- coding: utf-8 -*- -# -# Copyright (C) 2017 Apulia Software s.r.l. (http://www.apuliasoftware.it) -# @author Francesco Apruzzese -# -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import models, fields +from odoo import models, fields class AccountTax(models.Model): @@ -13,3 +9,4 @@ class AccountTax(models.Model): _inherit = 'account.tax' kind_id = fields.Many2one('account.tax.kind', string="Kind") + law_reference = fields.Char('Law reference') diff --git a/l10n_it_account_tax_kind/model/account_tax_kind.py b/l10n_it_account_tax_kind/model/account_tax_kind.py index 6794d6387634..2960beedaa17 100644 --- a/l10n_it_account_tax_kind/model/account_tax_kind.py +++ b/l10n_it_account_tax_kind/model/account_tax_kind.py @@ -1,11 +1,7 @@ # -*- coding: utf-8 -*- -# -# Copyright (C) 2017 Apulia Software s.r.l. (http://www.apuliasoftware.it) -# @author Francesco Apruzzese -# -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import api, models, fields +from odoo import api, models, fields class AccountTaxKind(models.Model): diff --git a/l10n_it_account_tax_kind/view/account_tax_kind_view.xml b/l10n_it_account_tax_kind/view/account_tax_kind_view.xml index 06017bae1923..564cb4517245 100644 --- a/l10n_it_account_tax_kind/view/account_tax_kind_view.xml +++ b/l10n_it_account_tax_kind/view/account_tax_kind_view.xml @@ -1,46 +1,44 @@ - - + - - account.tax.kind.tree - account.tax.kind - - + + account.tax.kind.tree + account.tax.kind + + + + + + + + + + account.tax.kind.form + account.tax.kind + +
+ - - - - - - account.tax.kind.form - account.tax.kind - - - - - - - - - +
+ +
+
- - Account Tax Kind - ir.actions.act_window - account.tax.kind - form - tree,form - - + + Account Tax Kind + ir.actions.act_window + account.tax.kind + form + tree,form + + - + -
-
\ No newline at end of file + diff --git a/l10n_it_account_tax_kind/view/account_tax_view.xml b/l10n_it_account_tax_kind/view/account_tax_view.xml index 6b55c2c8f846..69df6f6e0a87 100644 --- a/l10n_it_account_tax_kind/view/account_tax_view.xml +++ b/l10n_it_account_tax_kind/view/account_tax_view.xml @@ -1,17 +1,16 @@ - - + - - account.tax.form.account.tax.kind - account.tax - - - - - - - + + account.tax.form.account.tax.kind + account.tax + + + + + + + + - - \ No newline at end of file +