From cfeead259e5d715b57bf60c7212753b6b798aed6 Mon Sep 17 00:00:00 2001 From: eLBati Date: Thu, 23 Aug 2018 19:51:07 +0200 Subject: [PATCH 01/24] ADD l10n_it_causali_pagamento and l10n_it_withholding_tax_causali --- l10n_it_causali_pagamento/README.rst | 82 +++++++++++++ l10n_it_causali_pagamento/__init__.py | 4 + l10n_it_causali_pagamento/__manifest__.py | 25 ++++ .../data/causali_pagamento_data.xml | 115 ++++++++++++++++++ l10n_it_causali_pagamento/i18n/it.po | 85 +++++++++++++ l10n_it_causali_pagamento/models/__init__.py | 4 + .../models/causale_pagamento.py | 32 +++++ .../readme/CONFIGURE.rst | 2 + .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + l10n_it_causali_pagamento/readme/USAGE.rst | 3 + .../security/ir.model.access.csv | 4 + l10n_it_causali_pagamento/tests/__init__.py | 3 + .../tests/test_causali.py | 24 ++++ .../views/causali_pagamento_view.xml | 38 ++++++ 15 files changed, 423 insertions(+) create mode 100644 l10n_it_causali_pagamento/README.rst create mode 100644 l10n_it_causali_pagamento/__init__.py create mode 100644 l10n_it_causali_pagamento/__manifest__.py create mode 100644 l10n_it_causali_pagamento/data/causali_pagamento_data.xml create mode 100644 l10n_it_causali_pagamento/i18n/it.po create mode 100644 l10n_it_causali_pagamento/models/__init__.py create mode 100644 l10n_it_causali_pagamento/models/causale_pagamento.py create mode 100644 l10n_it_causali_pagamento/readme/CONFIGURE.rst create mode 100644 l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst create mode 100644 l10n_it_causali_pagamento/readme/DESCRIPTION.rst create mode 100644 l10n_it_causali_pagamento/readme/USAGE.rst create mode 100644 l10n_it_causali_pagamento/security/ir.model.access.csv create mode 100644 l10n_it_causali_pagamento/tests/__init__.py create mode 100644 l10n_it_causali_pagamento/tests/test_causali.py create mode 100644 l10n_it_causali_pagamento/views/causali_pagamento_view.xml diff --git a/l10n_it_causali_pagamento/README.rst b/l10n_it_causali_pagamento/README.rst new file mode 100644 index 000000000000..1cd8696048f5 --- /dev/null +++ b/l10n_it_causali_pagamento/README.rst @@ -0,0 +1,82 @@ +======================================== +Italian Localization - Causali pagamento +======================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/10.0/l10n_it_causali_pagamento + :alt: OCA/l10n-italy +.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/122/10.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| + +Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d'acconto + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +La tabella viene aggiunta nell'area contabilità, ed è raggiungibile nella +sezione configurazione. Occorre avere i privilegi di account manager. + +Usage +===== + +Installando il modulo vengono precaricati i codici disponibili. +E' possibile aggiungere nuovi codici o modificare quelli esistenti. +Non è possibile avere più di un elemento con lo stesso codice. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Agile Business Group + +Contributors +~~~~~~~~~~~~ + +* Lorenzo Battistini + +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 `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_causali_pagamento/__init__.py b/l10n_it_causali_pagamento/__init__.py new file mode 100644 index 000000000000..9994f1bced6c --- /dev/null +++ b/l10n_it_causali_pagamento/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + + +from . import models diff --git a/l10n_it_causali_pagamento/__manifest__.py b/l10n_it_causali_pagamento/__manifest__.py new file mode 100644 index 000000000000..91827233931d --- /dev/null +++ b/l10n_it_causali_pagamento/__manifest__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 Lorenzo Battistini - Agile Business Group +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). + +{ + 'name': 'Italian Localization - Causali pagamento', + 'summary': + 'Aggiunge la tabella delle causali di pagamento da usare ad esempio ' + 'nelle ritenute d\'acconto', + 'version': '10.0.1.0.0', + 'category': 'Account', + 'author': "Agile Business Group," + "Odoo Community Association (OCA)", + 'website': 'https://github.com/OCA/l10n-italy/', + 'license': 'LGPL-3', + 'depends': [ + 'account', + ], + 'data': [ + 'security/ir.model.access.csv', + 'data/causali_pagamento_data.xml', + 'views/causali_pagamento_view.xml', + ], + 'installable': True, +} diff --git a/l10n_it_causali_pagamento/data/causali_pagamento_data.xml b/l10n_it_causali_pagamento/data/causali_pagamento_data.xml new file mode 100644 index 000000000000..ecb22488ec30 --- /dev/null +++ b/l10n_it_causali_pagamento/data/causali_pagamento_data.xml @@ -0,0 +1,115 @@ + + + + A + Prestazioni di lavoro autonomo rientranti nell'esercizio di arte o professione abituale + + + B + Utilizzazione economica, da parte dell'autore o dell'inventore, di opere dell'ingegno, di brevetti industriali e di processi, formule o informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico + + + + C + Utili derivanti da contratti di associazione in partecipazione e da contratti di cointeressenza, quando l'apporto è costituito esclusivamente dalla prestazione di lavoro + + + D + Utili spettanti ai soci promotori e ai soci fondatori delle società di capitali + + + + E + Levata di protesti cambiari da parte dei segretari comunali + + + + G + Indennità corrisposte per la cessazione di attività sportiva professionale + + + + H + Indennità corrisposte per la cessazione dei rapporti di agenzia delle persone fisiche e delle società di persone, con esclusione delle somme maturate entro il 31.12.2003, già imputate per competenza e tassate come reddito d'impresa + + + I + Indennità corrisposte per la cessazione da funzioni notarili + + + L + Utilizzazione economica, da parte di soggetto diverso dall'autore o dall'inventore, di opere dell'ingegno, di brevetti industriali e di processi, formule e informazioni relative a esperienze acquisite in campo industriale, commerciale o scientifico + + + + M + Prestazioni di lavoro autonomo non esercitate abitualmente, obblighi di fare, di non fare o permettere + + + + N + Indennità di trasferta, rimborso forfetario di spese, premi e compensi erogati: .. nell'esercizio diretto di attività sportive dilettantistiche + + + + O + Prestazioni di lavoro autonomo non esercitate abitualmente, obblighi di fare, di non fare o permettere, per le quali non sussiste l'obbligo di iscrizione alla gestione separata (Circ. Inps 104/2001) + + + + P + Compensi corrisposti a soggetti non residenti privi di stabile organizzazione per l'uso o la concessione in uso di attrezzature industriali, commerciali o scientifiche che si trovano nel territorio dello + + + Q + Provvigioni corrisposte ad agente o rappresentante di commercio monomandatario + + + + R + Provvigioni corrisposte ad agente o rappresentante di commercio plurimandatario + + + + S + Provvigioni corrisposte a commissionario + + + + T + Provvigioni corrisposte a mediatore + + + + U + Provvigioni corrisposte a procacciatore di affari + + + + V + Provvigioni corrisposte a incaricato per le vendite a domicilio e provvigioni corrisposte a incaricato per la vendita porta a porta e per la vendita ambulante di giornali quotidiani e periodici (L. 25.02.1987, n. 67) + + + + W + Corrispettivi erogati nel 2013 per prestazioni relative a contratti d'appalto cui si sono resi applicabili le disposizioni contenute nell'art. 25-ter D.P.R. 600/1973 + + + + X + Canoni corrisposti nel 2004 da società o enti residenti, ovvero da stabili organizzazioni di società estere di cui all'art. 26-quater, c. 1, lett. a) e b) D.P.R. 600/1973, a società o stabili organizzazioni di società, situate in altro Stato membro dell'Unione Europea in presenza dei relativi requisiti richiesti, per i quali è stato effettuato nel 2006 il rimborso della ritenuta ai sensi dell'art. 4 D. Lgs. 143/2005 + + + + Y + Canoni corrisposti dal 1.01.2005 al 26.07.2005 da soggetti di cui al punto precedente + + + + Z + Titolo diverso dai precedenti + + + + + diff --git a/l10n_it_causali_pagamento/i18n/it.po b/l10n_it_causali_pagamento/i18n/it.po new file mode 100644 index 000000000000..f5bf47378862 --- /dev/null +++ b/l10n_it_causali_pagamento/i18n/it.po @@ -0,0 +1,85 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_it_causali_pagamento +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-08-23 17:48+0000\n" +"PO-Revision-Date: 2018-08-23 17:48+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_it_causali_pagamento +#: model:ir.model,name:l10n_it_causali_pagamento.model_causale_pagamento +msgid "Causale Pagamento" +msgstr "Causale Pagamento" + +#. module: l10n_it_causali_pagamento +#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form +#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree +msgid "Causale pagamento" +msgstr "Causale pagamento" + +#. module: l10n_it_causali_pagamento +#: model:ir.actions.act_window,name:l10n_it_causali_pagamento.action_causale_pagamento +#: model:ir.ui.menu,name:l10n_it_causali_pagamento.menu_causale_pagamento +msgid "Causali pagamento" +msgstr "Causali pagamento" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_code +msgid "Code" +msgstr "Codice" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_date +msgid "Created on" +msgstr "Creato il" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_name +msgid "Description" +msgstr "Descrizione" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_display_name +msgid "Display Name" +msgstr "Nome Visualizzato" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_id +msgid "ID" +msgstr "ID" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento___last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_uid +msgid "Last Updated by" +msgstr "Ultima modifica di" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_date +msgid "Last Updated on" +msgstr "Ultima modifica il" + +#. module: l10n_it_causali_pagamento +#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 +#, python-format +msgid "The element with code %s already exists" +msgstr "L'elemento con codice %s esiste già" + diff --git a/l10n_it_causali_pagamento/models/__init__.py b/l10n_it_causali_pagamento/models/__init__.py new file mode 100644 index 000000000000..c0d1a5024eb9 --- /dev/null +++ b/l10n_it_causali_pagamento/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + + +from . import causale_pagamento diff --git a/l10n_it_causali_pagamento/models/causale_pagamento.py b/l10n_it_causali_pagamento/models/causale_pagamento.py new file mode 100644 index 000000000000..46f663a7cf5f --- /dev/null +++ b/l10n_it_causali_pagamento/models/causale_pagamento.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- + +from odoo import models, fields, api, _ +from odoo.exceptions import ValidationError + + +class CausalePagamento(models.Model): + _name = 'causale.pagamento' + _description = 'Causale Pagamento' + + @api.constrains('code') + def _check_code(self): + for causale in self: + domain = [('code', '=', causale.code)] + elements = self.search(domain) + if len(elements) > 1: + raise ValidationError( + _("The element with code %s already exists") + % causale.code) + + @api.multi + def name_get(self): + res = [] + for cau in self: + name = "%s - %s" % (cau.code, cau.name) + if len(name) > 50: + name = name[:50] + '...' + res.append((cau.id, name)) + return res + + code = fields.Char(string='Code', size=2, required=True) + name = fields.Char(string='Description', required=True) diff --git a/l10n_it_causali_pagamento/readme/CONFIGURE.rst b/l10n_it_causali_pagamento/readme/CONFIGURE.rst new file mode 100644 index 000000000000..323dadee62e7 --- /dev/null +++ b/l10n_it_causali_pagamento/readme/CONFIGURE.rst @@ -0,0 +1,2 @@ +La tabella viene aggiunta nell'area contabilità, ed è raggiungibile nella +sezione configurazione. Occorre avere i privilegi di account manager. diff --git a/l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst b/l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..65a7e30bc6a5 --- /dev/null +++ b/l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Lorenzo Battistini diff --git a/l10n_it_causali_pagamento/readme/DESCRIPTION.rst b/l10n_it_causali_pagamento/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..ae3488684c8b --- /dev/null +++ b/l10n_it_causali_pagamento/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d'acconto diff --git a/l10n_it_causali_pagamento/readme/USAGE.rst b/l10n_it_causali_pagamento/readme/USAGE.rst new file mode 100644 index 000000000000..b64a061c8b78 --- /dev/null +++ b/l10n_it_causali_pagamento/readme/USAGE.rst @@ -0,0 +1,3 @@ +Installando il modulo vengono precaricati i codici disponibili. +E' possibile aggiungere nuovi codici o modificare quelli esistenti. +Non è possibile avere più di un elemento con lo stesso codice. diff --git a/l10n_it_causali_pagamento/security/ir.model.access.csv b/l10n_it_causali_pagamento/security/ir.model.access.csv new file mode 100644 index 000000000000..639467af4180 --- /dev/null +++ b/l10n_it_causali_pagamento/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_causale_pagamento_user,causale_pagamento user,model_causale_pagamento,base.group_user,1,0,0,0 +access_causale_pagamento_manager,causale_pagamento manager,model_causale_pagamento,account.group_account_manager,1,1,1,1 + diff --git a/l10n_it_causali_pagamento/tests/__init__.py b/l10n_it_causali_pagamento/tests/__init__.py new file mode 100644 index 000000000000..9a46b7f256ac --- /dev/null +++ b/l10n_it_causali_pagamento/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_causali diff --git a/l10n_it_causali_pagamento/tests/test_causali.py b/l10n_it_causali_pagamento/tests/test_causali.py new file mode 100644 index 000000000000..020f02dff6cd --- /dev/null +++ b/l10n_it_causali_pagamento/tests/test_causali.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +from odoo.tests.common import TransactionCase +from odoo.exceptions import ValidationError + + +class TestCausali(TransactionCase): + + def setUp(self): + super(TestCausali, self).setUp() + self.causale_model = self.env['causale.pagamento'] + self.causale_b = self.env.ref('l10n_it_causali_pagamento.b') + + def test_causali(self): + with self.assertRaises(ValidationError): + self.causale_model.create({ + 'code': 'B', + 'name': 'Test' + }) + name = self.causale_b.name_get() + self.assertEqual(name, [( + self.causale_b.id, + u"B - Utilizzazione economica, da parte dell'autore ..." + )]) diff --git a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml new file mode 100644 index 000000000000..81d7506ba4a5 --- /dev/null +++ b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml @@ -0,0 +1,38 @@ + + + + + view.causale.pagamento.tree + causale.pagamento + + + + + + + + + + view.causale.pagamento.form + causale.pagamento + +
+ + + + +
+
+
+ + + Causali pagamento + causale.pagamento + + + + + +
From 9aaf778673312e5dbefd653056d707c01ccd2e1f Mon Sep 17 00:00:00 2001 From: SimoRubi Date: Fri, 31 Aug 2018 15:46:40 +0200 Subject: [PATCH 02/24] [FIX] description overflow --- l10n_it_causali_pagamento/models/causale_pagamento.py | 2 +- .../views/causali_pagamento_view.xml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/l10n_it_causali_pagamento/models/causale_pagamento.py b/l10n_it_causali_pagamento/models/causale_pagamento.py index 46f663a7cf5f..0cdf749fbf70 100644 --- a/l10n_it_causali_pagamento/models/causale_pagamento.py +++ b/l10n_it_causali_pagamento/models/causale_pagamento.py @@ -29,4 +29,4 @@ def name_get(self): return res code = fields.Char(string='Code', size=2, required=True) - name = fields.Char(string='Description', required=True) + name = fields.Text(string='Description', required=True) diff --git a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml index 81d7506ba4a5..0bc3304651ca 100644 --- a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml +++ b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml @@ -17,10 +17,12 @@ causale.pagamento
- - - - + + + + + +
From a6f9d53148e73bfd0d420e30a0283e6c66353e32 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 10 Sep 2018 15:58:51 +0000 Subject: [PATCH 03/24] [UPD] Update l10n_it_causali_pagamento.pot [UPD] README.rst --- l10n_it_causali_pagamento/README.rst | 10 +- l10n_it_causali_pagamento/i18n/it.po | 6 +- .../i18n/l10n_it_causali_pagamento.pot | 83 ++++ .../static/description/index.html | 432 ++++++++++++++++++ 4 files changed, 525 insertions(+), 6 deletions(-) create mode 100644 l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot create mode 100644 l10n_it_causali_pagamento/static/description/index.html diff --git a/l10n_it_causali_pagamento/README.rst b/l10n_it_causali_pagamento/README.rst index 1cd8696048f5..b23ae73b7633 100644 --- a/l10n_it_causali_pagamento/README.rst +++ b/l10n_it_causali_pagamento/README.rst @@ -16,11 +16,14 @@ Italian Localization - Causali pagamento .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github :target: https://github.com/OCA/l10n-italy/tree/10.0/l10n_it_causali_pagamento :alt: OCA/l10n-italy -.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-italy-10-0/l10n-italy-10-0-l10n_it_causali_pagamento + :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/10.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| +|badge1| |badge2| |badge3| |badge4| |badge5| Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d'acconto @@ -47,7 +50,8 @@ Bug Tracker Bugs are tracked on `GitHub 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. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. diff --git a/l10n_it_causali_pagamento/i18n/it.po b/l10n_it_causali_pagamento/i18n/it.po index f5bf47378862..6c95ae7f9b37 100644 --- a/l10n_it_causali_pagamento/i18n/it.po +++ b/l10n_it_causali_pagamento/i18n/it.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * l10n_it_causali_pagamento +# * l10n_it_causali_pagamento # msgid "" msgstr "" @@ -10,6 +10,7 @@ msgstr "" "PO-Revision-Date: 2018-08-23 17:48+0000\n" "Last-Translator: <>\n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -78,8 +79,7 @@ msgid "Last Updated on" msgstr "Ultima modifica il" #. module: l10n_it_causali_pagamento -#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 +#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:18 #, python-format msgid "The element with code %s already exists" msgstr "L'elemento con codice %s esiste già" - diff --git a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot new file mode 100644 index 000000000000..53a599354712 --- /dev/null +++ b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot @@ -0,0 +1,83 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_it_causali_pagamento +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_it_causali_pagamento +#: model:ir.model,name:l10n_it_causali_pagamento.model_causale_pagamento +msgid "Causale Pagamento" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form +#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree +msgid "Causale pagamento" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.actions.act_window,name:l10n_it_causali_pagamento.action_causale_pagamento +#: model:ir.ui.menu,name:l10n_it_causali_pagamento.menu_causale_pagamento +msgid "Causali pagamento" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_code +msgid "Code" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_uid +msgid "Created by" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_date +msgid "Created on" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_name +msgid "Description" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_display_name +msgid "Display Name" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_id +msgid "ID" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento___last_update +msgid "Last Modified on" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_date +msgid "Last Updated on" +msgstr "" + +#. module: l10n_it_causali_pagamento +#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:18 +#, python-format +msgid "The element with code %s already exists" +msgstr "" + diff --git a/l10n_it_causali_pagamento/static/description/index.html b/l10n_it_causali_pagamento/static/description/index.html new file mode 100644 index 000000000000..a988d09ad786 --- /dev/null +++ b/l10n_it_causali_pagamento/static/description/index.html @@ -0,0 +1,432 @@ + + + + + + +Italian Localization - Causali pagamento + + + +
+

Italian Localization - Causali pagamento

+ + +

Beta License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d’acconto

+

Table of contents

+ +
+

Configuration

+

La tabella viene aggiunta nell’area contabilità, ed è raggiungibile nella +sezione configurazione. Occorre avere i privilegi di account manager.

+
+
+

Usage

+

Installando il modulo vengono precaricati i codici disponibili. +E’ possibile aggiungere nuovi codici o modificare quelli esistenti. +Non è possibile avere più di un elemento con lo stesso codice.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Agile Business Group
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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 project on GitHub.

+

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

+
+
+
+ + From 619dc50f2a4177ad02ae01ce468bd116d50564b7 Mon Sep 17 00:00:00 2001 From: Lara Baggio Date: Wed, 31 Oct 2018 16:18:10 +0100 Subject: [PATCH 04/24] [MIG] l10n_it_causali_pagamento: Migration to 11.0 --- l10n_it_causali_pagamento/README.rst | 14 +++++++------- l10n_it_causali_pagamento/__init__.py | 2 -- l10n_it_causali_pagamento/__manifest__.py | 4 ++-- l10n_it_causali_pagamento/models/__init__.py | 2 -- .../models/causale_pagamento.py | 1 - .../static/description/index.html | 6 +++--- l10n_it_causali_pagamento/tests/__init__.py | 1 - l10n_it_causali_pagamento/tests/test_causali.py | 3 +-- 8 files changed, 13 insertions(+), 20 deletions(-) diff --git a/l10n_it_causali_pagamento/README.rst b/l10n_it_causali_pagamento/README.rst index b23ae73b7633..974fcea0709b 100644 --- a/l10n_it_causali_pagamento/README.rst +++ b/l10n_it_causali_pagamento/README.rst @@ -7,20 +7,20 @@ Italian Localization - Causali pagamento !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |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/10.0/l10n_it_causali_pagamento + :target: https://github.com/OCA/l10n-italy/tree/11.0/l10n_it_causali_pagamento :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-10-0/l10n-italy-10-0-l10n_it_causali_pagamento + :target: https://translation.odoo-community.org/projects/l10n-italy-11-0/l10n-italy-11-0-l10n_it_causali_pagamento :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/10.0 + :target: https://runbot.odoo-community.org/runbot/122/11.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -51,7 +51,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -81,6 +81,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/l10n-italy `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_causali_pagamento/__init__.py b/l10n_it_causali_pagamento/__init__.py index 9994f1bced6c..a9e3372262cd 100644 --- a/l10n_it_causali_pagamento/__init__.py +++ b/l10n_it_causali_pagamento/__init__.py @@ -1,4 +1,2 @@ -# -*- coding: utf-8 -*- - from . import models diff --git a/l10n_it_causali_pagamento/__manifest__.py b/l10n_it_causali_pagamento/__manifest__.py index 91827233931d..448cd04f372f 100644 --- a/l10n_it_causali_pagamento/__manifest__.py +++ b/l10n_it_causali_pagamento/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2018 Lorenzo Battistini - Agile Business Group # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). @@ -7,7 +6,8 @@ 'summary': 'Aggiunge la tabella delle causali di pagamento da usare ad esempio ' 'nelle ritenute d\'acconto', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', + "development_status": "Production/Stable", 'category': 'Account', 'author': "Agile Business Group," "Odoo Community Association (OCA)", diff --git a/l10n_it_causali_pagamento/models/__init__.py b/l10n_it_causali_pagamento/models/__init__.py index c0d1a5024eb9..46afc4ad4236 100644 --- a/l10n_it_causali_pagamento/models/__init__.py +++ b/l10n_it_causali_pagamento/models/__init__.py @@ -1,4 +1,2 @@ -# -*- coding: utf-8 -*- - from . import causale_pagamento diff --git a/l10n_it_causali_pagamento/models/causale_pagamento.py b/l10n_it_causali_pagamento/models/causale_pagamento.py index 0cdf749fbf70..864cc30f8d3b 100644 --- a/l10n_it_causali_pagamento/models/causale_pagamento.py +++ b/l10n_it_causali_pagamento/models/causale_pagamento.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from odoo import models, fields, api, _ from odoo.exceptions import ValidationError diff --git a/l10n_it_causali_pagamento/static/description/index.html b/l10n_it_causali_pagamento/static/description/index.html index a988d09ad786..b0e28d96ca1e 100644 --- a/l10n_it_causali_pagamento/static/description/index.html +++ b/l10n_it_causali_pagamento/static/description/index.html @@ -367,7 +367,7 @@

Italian Localization - Causali pagamento

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Production/Stable License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d’acconto

Table of contents

@@ -399,7 +399,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -423,7 +423,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/l10n-italy project on GitHub.

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

diff --git a/l10n_it_causali_pagamento/tests/__init__.py b/l10n_it_causali_pagamento/tests/__init__.py index 9a46b7f256ac..2d45d09b5e18 100644 --- a/l10n_it_causali_pagamento/tests/__init__.py +++ b/l10n_it_causali_pagamento/tests/__init__.py @@ -1,3 +1,2 @@ -# -*- coding: utf-8 -*- from . import test_causali diff --git a/l10n_it_causali_pagamento/tests/test_causali.py b/l10n_it_causali_pagamento/tests/test_causali.py index 020f02dff6cd..69c4686fc290 100644 --- a/l10n_it_causali_pagamento/tests/test_causali.py +++ b/l10n_it_causali_pagamento/tests/test_causali.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from odoo.tests.common import TransactionCase from odoo.exceptions import ValidationError @@ -20,5 +19,5 @@ def test_causali(self): name = self.causale_b.name_get() self.assertEqual(name, [( self.causale_b.id, - u"B - Utilizzazione economica, da parte dell'autore ..." + "B - Utilizzazione economica, da parte dell'autore ..." )]) From 4fe8697033128eef67b69e6adf978243d4ca0384 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 6 Nov 2018 12:14:17 +0000 Subject: [PATCH 05/24] [UPD] Update l10n_it_causali_pagamento.pot --- l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot index 53a599354712..23f1ff56dfe6 100644 --- a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot +++ b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -76,7 +76,7 @@ msgid "Last Updated on" msgstr "" #. module: l10n_it_causali_pagamento -#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:18 +#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 #, python-format msgid "The element with code %s already exists" msgstr "" From e1d75b1bc0844ee74ddae638cbe173cb8f90df5a Mon Sep 17 00:00:00 2001 From: eLBati Date: Thu, 8 Nov 2018 08:16:26 +0100 Subject: [PATCH 06/24] [MIG] l10n_it_causali_pagamento: Migration to 12.0 --- l10n_it_causali_pagamento/README.rst | 10 +++++----- l10n_it_causali_pagamento/__init__.py | 1 + l10n_it_causali_pagamento/__manifest__.py | 4 ++-- l10n_it_causali_pagamento/models/__init__.py | 1 + l10n_it_causali_pagamento/models/causale_pagamento.py | 1 + .../static/description/index.html | 6 +++--- l10n_it_causali_pagamento/tests/__init__.py | 1 + l10n_it_causali_pagamento/tests/test_causali.py | 1 + .../views/causali_pagamento_view.xml | 2 +- 9 files changed, 16 insertions(+), 11 deletions(-) diff --git a/l10n_it_causali_pagamento/README.rst b/l10n_it_causali_pagamento/README.rst index 974fcea0709b..c2e784184b27 100644 --- a/l10n_it_causali_pagamento/README.rst +++ b/l10n_it_causali_pagamento/README.rst @@ -14,13 +14,13 @@ Italian Localization - Causali pagamento :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/11.0/l10n_it_causali_pagamento + :target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_causali_pagamento :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-11-0/l10n-italy-11-0-l10n_it_causali_pagamento + :target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_causali_pagamento :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/11.0 + :target: https://runbot.odoo-community.org/runbot/122/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -51,7 +51,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -81,6 +81,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/l10n-italy `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_causali_pagamento/__init__.py b/l10n_it_causali_pagamento/__init__.py index a9e3372262cd..75d79245182f 100644 --- a/l10n_it_causali_pagamento/__init__.py +++ b/l10n_it_causali_pagamento/__init__.py @@ -1,2 +1,3 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from . import models diff --git a/l10n_it_causali_pagamento/__manifest__.py b/l10n_it_causali_pagamento/__manifest__.py index 448cd04f372f..30b465147543 100644 --- a/l10n_it_causali_pagamento/__manifest__.py +++ b/l10n_it_causali_pagamento/__manifest__.py @@ -6,7 +6,7 @@ 'summary': 'Aggiunge la tabella delle causali di pagamento da usare ad esempio ' 'nelle ritenute d\'acconto', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', "development_status": "Production/Stable", 'category': 'Account', 'author': "Agile Business Group," @@ -14,7 +14,7 @@ 'website': 'https://github.com/OCA/l10n-italy/', 'license': 'LGPL-3', 'depends': [ - 'account', + 'l10n_it_account', ], 'data': [ 'security/ir.model.access.csv', diff --git a/l10n_it_causali_pagamento/models/__init__.py b/l10n_it_causali_pagamento/models/__init__.py index 46afc4ad4236..2eda5b47fcee 100644 --- a/l10n_it_causali_pagamento/models/__init__.py +++ b/l10n_it_causali_pagamento/models/__init__.py @@ -1,2 +1,3 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from . import causale_pagamento diff --git a/l10n_it_causali_pagamento/models/causale_pagamento.py b/l10n_it_causali_pagamento/models/causale_pagamento.py index 864cc30f8d3b..2be0b91444b9 100644 --- a/l10n_it_causali_pagamento/models/causale_pagamento.py +++ b/l10n_it_causali_pagamento/models/causale_pagamento.py @@ -1,3 +1,4 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from odoo import models, fields, api, _ from odoo.exceptions import ValidationError diff --git a/l10n_it_causali_pagamento/static/description/index.html b/l10n_it_causali_pagamento/static/description/index.html index b0e28d96ca1e..e47420046afa 100644 --- a/l10n_it_causali_pagamento/static/description/index.html +++ b/l10n_it_causali_pagamento/static/description/index.html @@ -367,7 +367,7 @@

Italian Localization - Causali pagamento

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Production/Stable License: LGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d’acconto

Table of contents

@@ -399,7 +399,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -423,7 +423,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/l10n-italy project on GitHub.

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

diff --git a/l10n_it_causali_pagamento/tests/__init__.py b/l10n_it_causali_pagamento/tests/__init__.py index 2d45d09b5e18..c2db1494a530 100644 --- a/l10n_it_causali_pagamento/tests/__init__.py +++ b/l10n_it_causali_pagamento/tests/__init__.py @@ -1,2 +1,3 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from . import test_causali diff --git a/l10n_it_causali_pagamento/tests/test_causali.py b/l10n_it_causali_pagamento/tests/test_causali.py index 69c4686fc290..e70d2e7e3825 100644 --- a/l10n_it_causali_pagamento/tests/test_causali.py +++ b/l10n_it_causali_pagamento/tests/test_causali.py @@ -1,3 +1,4 @@ +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from odoo.tests.common import TransactionCase from odoo.exceptions import ValidationError diff --git a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml index 0bc3304651ca..e47690ab73ec 100644 --- a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml +++ b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml @@ -34,7 +34,7 @@ From b718bd3974340efd51a463bff93fd5011be287ca Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 4 Dec 2018 22:20:50 +0000 Subject: [PATCH 07/24] [UPD] Update l10n_it_causali_pagamento.pot --- .../i18n/l10n_it_causali_pagamento.pot | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot index 23f1ff56dfe6..73fa6c429654 100644 --- a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot +++ b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -19,8 +19,8 @@ msgid "Causale Pagamento" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form -#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree +#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form +#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree msgid "Causale pagamento" msgstr "" @@ -31,52 +31,52 @@ msgid "Causali pagamento" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_code +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__code msgid "Code" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_uid +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_uid msgid "Created by" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_date +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_date msgid "Created on" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_name +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__name msgid "Description" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_display_name +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__display_name msgid "Display Name" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_id +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__id msgid "ID" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento___last_update +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento____last_update msgid "Last Modified on" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_uid +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_uid msgid "Last Updated by" msgstr "" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_date +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_date msgid "Last Updated on" msgstr "" #. module: l10n_it_causali_pagamento -#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 +#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:18 #, python-format msgid "The element with code %s already exists" msgstr "" From 5b003b3571e83665d3b66028af40207f4e743ef2 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 9 Dec 2018 10:43:32 +0000 Subject: [PATCH 08/24] Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. --- l10n_it_causali_pagamento/i18n/it.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/l10n_it_causali_pagamento/i18n/it.po b/l10n_it_causali_pagamento/i18n/it.po index 6c95ae7f9b37..e7ed094e7e7a 100644 --- a/l10n_it_causali_pagamento/i18n/it.po +++ b/l10n_it_causali_pagamento/i18n/it.po @@ -22,8 +22,8 @@ msgid "Causale Pagamento" msgstr "Causale Pagamento" #. module: l10n_it_causali_pagamento -#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form -#: model:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree +#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form +#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree msgid "Causale pagamento" msgstr "Causale pagamento" @@ -34,47 +34,47 @@ msgid "Causali pagamento" msgstr "Causali pagamento" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_code +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__code msgid "Code" msgstr "Codice" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_uid +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_uid msgid "Created by" msgstr "Creato da" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_create_date +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_date msgid "Created on" msgstr "Creato il" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_name +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__name msgid "Description" msgstr "Descrizione" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_display_name +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__display_name msgid "Display Name" msgstr "Nome Visualizzato" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_id +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__id msgid "ID" msgstr "ID" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento___last_update +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento____last_update msgid "Last Modified on" msgstr "Ultima modifica il" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_uid +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_uid msgid "Last Updated by" msgstr "Ultima modifica di" #. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento_write_date +#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_date msgid "Last Updated on" msgstr "Ultima modifica il" From eae3c4714154d9be802da80499fa0629e8300eed Mon Sep 17 00:00:00 2001 From: Sergio Zanchetta Date: Sun, 9 Dec 2018 15:20:06 +0000 Subject: [PATCH 09/24] Translated using Weblate (Italian) Currently translated at 76.9% (10 of 13 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_causali_pagamento Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_causali_pagamento/it/ --- l10n_it_causali_pagamento/i18n/it.po | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/l10n_it_causali_pagamento/i18n/it.po b/l10n_it_causali_pagamento/i18n/it.po index e7ed094e7e7a..9592d3e0706d 100644 --- a/l10n_it_causali_pagamento/i18n/it.po +++ b/l10n_it_causali_pagamento/i18n/it.po @@ -7,29 +7,33 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-08-23 17:48+0000\n" -"PO-Revision-Date: 2018-08-23 17:48+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2018-12-10 15:58+0000\n" +"Last-Translator: Sergio Zanchetta \n" "Language-Team: \n" -"Language: \n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\n" #. module: l10n_it_causali_pagamento #: model:ir.model,name:l10n_it_causali_pagamento.model_causale_pagamento +#, fuzzy msgid "Causale Pagamento" -msgstr "Causale Pagamento" +msgstr "Causale pagamento" #. module: l10n_it_causali_pagamento #: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form #: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree +#, fuzzy msgid "Causale pagamento" msgstr "Causale pagamento" #. module: l10n_it_causali_pagamento #: model:ir.actions.act_window,name:l10n_it_causali_pagamento.action_causale_pagamento #: model:ir.ui.menu,name:l10n_it_causali_pagamento.menu_causale_pagamento +#, fuzzy msgid "Causali pagamento" msgstr "Causali pagamento" @@ -56,7 +60,7 @@ msgstr "Descrizione" #. module: l10n_it_causali_pagamento #: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__display_name msgid "Display Name" -msgstr "Nome Visualizzato" +msgstr "Nome visualizzato" #. module: l10n_it_causali_pagamento #: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__id @@ -71,12 +75,12 @@ msgstr "Ultima modifica il" #. module: l10n_it_causali_pagamento #: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_uid msgid "Last Updated by" -msgstr "Ultima modifica di" +msgstr "Ultimo aggiornamento di" #. module: l10n_it_causali_pagamento #: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_date msgid "Last Updated on" -msgstr "Ultima modifica il" +msgstr "Ultimo aggiornamento il" #. module: l10n_it_causali_pagamento #: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:18 From 7acfa101c3a75127866efb24bee08c8287696c6a Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Apr 2019 02:55:21 +0000 Subject: [PATCH 10/24] [ADD] icon.png --- .../static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 l10n_it_causali_pagamento/static/description/icon.png diff --git a/l10n_it_causali_pagamento/static/description/icon.png b/l10n_it_causali_pagamento/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-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!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From c0e7c4d13da634d15d87d9eccc0ec26575854ee3 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:03:50 +0000 Subject: [PATCH 11/24] [UPD] README.rst --- l10n_it_causali_pagamento/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_it_causali_pagamento/static/description/index.html b/l10n_it_causali_pagamento/static/description/index.html index e47420046afa..49170c4ef969 100644 --- a/l10n_it_causali_pagamento/static/description/index.html +++ b/l10n_it_causali_pagamento/static/description/index.html @@ -3,7 +3,7 @@ - + Italian Localization - Causali pagamento -
-

Italian Localization - Causali pagamento

+
+

ITA - Causali pagamento

-

Production/Stable License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

-

Tabelle delle causali di pagamento da usare ad esempio nelle ritenute d’acconto

+

Production/Stable License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Tabelle delle causali di pagamento da usare, ad esempio, nelle ritenute d’acconto.

Table of contents

    @@ -391,7 +391,7 @@

    Configuration

    Usage

    Installando il modulo vengono precaricati i codici disponibili. -E’ possibile aggiungere nuovi codici o modificare quelli esistenti. +È possibile aggiungere nuovi codici o modificare quelli esistenti. Non è possibile avere più di un elemento con lo stesso codice.

    @@ -399,7 +399,7 @@

    Bug Tracker

    Bugs are tracked on GitHub 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.

    +feedback.

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

    @@ -415,6 +415,7 @@

    Contributors

    @@ -424,7 +425,7 @@

    Maintainers

    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 project on GitHub.

    +

    This module is part of the OCA/l10n-italy project on GitHub.

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

diff --git a/l10n_it_causali_pagamento/tests/test_causali.py b/l10n_it_causali_pagamento/tests/test_causali.py index dd67c7d44d07..6f306071529d 100644 --- a/l10n_it_causali_pagamento/tests/test_causali.py +++ b/l10n_it_causali_pagamento/tests/test_causali.py @@ -21,17 +21,3 @@ def test_causali(self): ) ], ) - - def test_renaming_causali(self): - causale_zo = self.env.ref("l10n_it_causali_pagamento.z") - self.assertEqual(causale_zo.code, "ZO") - causale_l = self.env.ref("l10n_it_causali_pagamento.l") - name = ( - "Redditi derivanti dall’utilizzazione economica di opere " - "dell’ingegno, di brevetti industriali e di processi, formule e " - "informazioni relativi a esperienze acquisite in campo " - "industriale, commerciale o scientifico, che sono percepiti dagli " - "aventi causa a titolo gratuito (ad es. eredi e " - "legatari dell’autore e inventore)" - ) - self.assertEqual(causale_l.name, name) From 056f1c145da0eb2ddad52b66d7610ed9d9b69fd9 Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Thu, 17 Dec 2020 20:12:06 +0100 Subject: [PATCH 23/24] [UPD] rename to l10n_it_payment_reason --- l10n_it_causali_pagamento/i18n/it.po | 89 ------------------ .../i18n/l10n_it_causali_pagamento.pot | 83 ---------------- l10n_it_causali_pagamento/models/__init__.py | 1 - .../security/ir.model.access.csv | 3 - l10n_it_causali_pagamento/tests/__init__.py | 1 - .../tests/test_causali.py | 23 ----- .../views/causali_pagamento_view.xml | 45 --------- .../README.rst | 8 +- .../__init__.py | 0 .../__manifest__.py | 6 +- .../data/payment_reason_data.xml | 56 +++++------ .../i18n/l10n_it_payment_reason.pot | 81 ++++++++++++++++ .../migrations/14.0.1.0.1/pre-migrate.py | 48 ++++++++++ l10n_it_payment_reason/models/__init__.py | 1 + .../models/payment_reason.py | 12 +-- .../readme/CONFIGURE.rst | 0 .../readme/CONTRIBUTORS.rst | 0 .../readme/DESCRIPTION.rst | 0 .../readme/USAGE.rst | 0 .../security/ir.model.access.csv | 3 + .../static/description/icon.png | Bin .../static/description/index.html | 6 +- l10n_it_payment_reason/tests/__init__.py | 1 + l10n_it_payment_reason/tests/test_reason.py | 23 +++++ .../views/payment_reason_view.xml | 45 +++++++++ .../odoo/addons/l10n_it_causali_pagamento | 1 - .../odoo/addons/l10n_it_payment_reason | 1 + .../setup.py | 0 28 files changed, 247 insertions(+), 290 deletions(-) delete mode 100644 l10n_it_causali_pagamento/i18n/it.po delete mode 100644 l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot delete mode 100644 l10n_it_causali_pagamento/models/__init__.py delete mode 100644 l10n_it_causali_pagamento/security/ir.model.access.csv delete mode 100644 l10n_it_causali_pagamento/tests/__init__.py delete mode 100644 l10n_it_causali_pagamento/tests/test_causali.py delete mode 100644 l10n_it_causali_pagamento/views/causali_pagamento_view.xml rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/README.rst (90%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/__init__.py (100%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/__manifest__.py (84%) rename l10n_it_causali_pagamento/data/causali_pagamento_data.xml => l10n_it_payment_reason/data/payment_reason_data.xml (84%) create mode 100644 l10n_it_payment_reason/i18n/l10n_it_payment_reason.pot create mode 100644 l10n_it_payment_reason/migrations/14.0.1.0.1/pre-migrate.py create mode 100644 l10n_it_payment_reason/models/__init__.py rename l10n_it_causali_pagamento/models/causale_pagamento.py => l10n_it_payment_reason/models/payment_reason.py (77%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/readme/CONFIGURE.rst (100%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/readme/CONTRIBUTORS.rst (100%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/readme/DESCRIPTION.rst (100%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/readme/USAGE.rst (100%) create mode 100644 l10n_it_payment_reason/security/ir.model.access.csv rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/static/description/icon.png (100%) rename {l10n_it_causali_pagamento => l10n_it_payment_reason}/static/description/index.html (92%) create mode 100644 l10n_it_payment_reason/tests/__init__.py create mode 100644 l10n_it_payment_reason/tests/test_reason.py create mode 100644 l10n_it_payment_reason/views/payment_reason_view.xml delete mode 120000 setup/l10n_it_causali_pagamento/odoo/addons/l10n_it_causali_pagamento create mode 120000 setup/l10n_it_payment_reason/odoo/addons/l10n_it_payment_reason rename setup/{l10n_it_causali_pagamento => l10n_it_payment_reason}/setup.py (100%) diff --git a/l10n_it_causali_pagamento/i18n/it.po b/l10n_it_causali_pagamento/i18n/it.po deleted file mode 100644 index 5ce979412017..000000000000 --- a/l10n_it_causali_pagamento/i18n/it.po +++ /dev/null @@ -1,89 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_it_causali_pagamento -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-08-23 17:48+0000\n" -"PO-Revision-Date: 2018-12-10 15:58+0000\n" -"Last-Translator: Sergio Zanchetta \n" -"Language-Team: \n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.3\n" - -#. module: l10n_it_causali_pagamento -#: model:ir.model,name:l10n_it_causali_pagamento.model_causale_pagamento -#, fuzzy -msgid "Causale Pagamento" -msgstr "Causale pagamento" - -#. module: l10n_it_causali_pagamento -#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form -#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree -#, fuzzy -msgid "Causale pagamento" -msgstr "Causale pagamento" - -#. module: l10n_it_causali_pagamento -#: model:ir.actions.act_window,name:l10n_it_causali_pagamento.action_causale_pagamento -#: model:ir.ui.menu,name:l10n_it_causali_pagamento.menu_causale_pagamento -#, fuzzy -msgid "Causali pagamento" -msgstr "Causali pagamento" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__code -msgid "Code" -msgstr "Codice" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_uid -msgid "Created by" -msgstr "Creato da" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_date -msgid "Created on" -msgstr "Creato il" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__name -msgid "Description" -msgstr "Descrizione" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__display_name -msgid "Display Name" -msgstr "Nome visualizzato" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__id -msgid "ID" -msgstr "ID" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento____last_update -msgid "Last Modified on" -msgstr "Ultima modifica il" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_uid -msgid "Last Updated by" -msgstr "Ultimo aggiornamento di" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_date -msgid "Last Updated on" -msgstr "Ultimo aggiornamento il" - -#. module: l10n_it_causali_pagamento -#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 -#, python-format -msgid "The element with code %s already exists" -msgstr "L'elemento con codice %s esiste già" diff --git a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot b/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot deleted file mode 100644 index 9847766d38cc..000000000000 --- a/l10n_it_causali_pagamento/i18n/l10n_it_causali_pagamento.pot +++ /dev/null @@ -1,83 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_it_causali_pagamento -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: l10n_it_causali_pagamento -#: model:ir.model,name:l10n_it_causali_pagamento.model_causale_pagamento -msgid "Causale Pagamento" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_form -#: model_terms:ir.ui.view,arch_db:l10n_it_causali_pagamento.view_causale_pagamento_tree -msgid "Causale pagamento" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.actions.act_window,name:l10n_it_causali_pagamento.action_causale_pagamento -#: model:ir.ui.menu,name:l10n_it_causali_pagamento.menu_causale_pagamento -msgid "Causali pagamento" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__code -msgid "Code" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_uid -msgid "Created by" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__create_date -msgid "Created on" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__name -msgid "Description" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__display_name -msgid "Display Name" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__id -msgid "ID" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento____last_update -msgid "Last Modified on" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: model:ir.model.fields,field_description:l10n_it_causali_pagamento.field_causale_pagamento__write_date -msgid "Last Updated on" -msgstr "" - -#. module: l10n_it_causali_pagamento -#: code:addons/l10n_it_causali_pagamento/models/causale_pagamento.py:17 -#, python-format -msgid "The element with code %s already exists" -msgstr "" - diff --git a/l10n_it_causali_pagamento/models/__init__.py b/l10n_it_causali_pagamento/models/__init__.py deleted file mode 100644 index 25b6abb76ffc..000000000000 --- a/l10n_it_causali_pagamento/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import causale_pagamento diff --git a/l10n_it_causali_pagamento/security/ir.model.access.csv b/l10n_it_causali_pagamento/security/ir.model.access.csv deleted file mode 100644 index 807bcb4889a9..000000000000 --- a/l10n_it_causali_pagamento/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_causale_pagamento_user,causale_pagamento user,model_causale_pagamento,base.group_user,1,0,0,0 -access_causale_pagamento_manager,causale_pagamento manager,model_causale_pagamento,account.group_account_manager,1,1,1,1 diff --git a/l10n_it_causali_pagamento/tests/__init__.py b/l10n_it_causali_pagamento/tests/__init__.py deleted file mode 100644 index eb445cddc4e3..000000000000 --- a/l10n_it_causali_pagamento/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_causali diff --git a/l10n_it_causali_pagamento/tests/test_causali.py b/l10n_it_causali_pagamento/tests/test_causali.py deleted file mode 100644 index 6f306071529d..000000000000 --- a/l10n_it_causali_pagamento/tests/test_causali.py +++ /dev/null @@ -1,23 +0,0 @@ -from odoo.exceptions import ValidationError -from odoo.tests.common import TransactionCase - - -class TestCausali(TransactionCase): - def setUp(self): - super(TestCausali, self).setUp() - self.causale_model = self.env["causale.pagamento"] - self.causale_b = self.env.ref("l10n_it_causali_pagamento.b") - - def test_causali(self): - with self.assertRaises(ValidationError): - self.causale_model.create({"code": "B", "name": "Test"}) - name = self.causale_b.name_get() - self.assertEqual( - name, - [ - ( - self.causale_b.id, - "B - Utilizzazione economica, da parte dell'autore ...", - ) - ], - ) diff --git a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml b/l10n_it_causali_pagamento/views/causali_pagamento_view.xml deleted file mode 100644 index 739992b7ca91..000000000000 --- a/l10n_it_causali_pagamento/views/causali_pagamento_view.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - view.causale.pagamento.tree - causale.pagamento - - - - - - - - - - view.causale.pagamento.form - causale.pagamento - -
- - - - - - -
-
-
- - - Causali pagamento - causale.pagamento - - - - - -
diff --git a/l10n_it_causali_pagamento/README.rst b/l10n_it_payment_reason/README.rst similarity index 90% rename from l10n_it_causali_pagamento/README.rst rename to l10n_it_payment_reason/README.rst index 42793094a16b..919874fff0e4 100644 --- a/l10n_it_causali_pagamento/README.rst +++ b/l10n_it_payment_reason/README.rst @@ -14,10 +14,10 @@ ITA - Causali pagamento :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-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_causali_pagamento + :target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_payment_reason :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_causali_pagamento + :target: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_payment_reason :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 @@ -51,7 +51,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -83,6 +83,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/l10n-italy `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_causali_pagamento/__init__.py b/l10n_it_payment_reason/__init__.py similarity index 100% rename from l10n_it_causali_pagamento/__init__.py rename to l10n_it_payment_reason/__init__.py diff --git a/l10n_it_causali_pagamento/__manifest__.py b/l10n_it_payment_reason/__manifest__.py similarity index 84% rename from l10n_it_causali_pagamento/__manifest__.py rename to l10n_it_payment_reason/__manifest__.py index 27a27cb84af7..f42260396727 100644 --- a/l10n_it_causali_pagamento/__manifest__.py +++ b/l10n_it_payment_reason/__manifest__.py @@ -5,7 +5,7 @@ "name": "ITA - Causali pagamento", "summary": "Aggiunge la tabella delle causali di pagamento da usare ad esempio " "nelle ritenute d'acconto", - "version": "14.0.1.0.0", + "version": "14.0.1.0.1", "development_status": "Production/Stable", "category": "Account", "author": "Agile Business Group," "Odoo Community Association (OCA)", @@ -16,8 +16,8 @@ ], "data": [ "security/ir.model.access.csv", - "data/causali_pagamento_data.xml", - "views/causali_pagamento_view.xml", + "data/payment_reason_data.xml", + "views/payment_reason_view.xml", ], "installable": True, } diff --git a/l10n_it_causali_pagamento/data/causali_pagamento_data.xml b/l10n_it_payment_reason/data/payment_reason_data.xml similarity index 84% rename from l10n_it_causali_pagamento/data/causali_pagamento_data.xml rename to l10n_it_payment_reason/data/payment_reason_data.xml index 1974d3706369..4d7ac23252ad 100644 --- a/l10n_it_causali_pagamento/data/causali_pagamento_data.xml +++ b/l10n_it_payment_reason/data/payment_reason_data.xml @@ -1,179 +1,179 @@ - + A Prestazioni di lavoro autonomo rientranti nell'esercizio di arte o professione abituale - + B Utilizzazione economica, da parte dell'autore o dell'inventore, di opere dell'ingegno, di brevetti industriali e di processi, formule o informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico - + C Utili derivanti da contratti di associazione in partecipazione e da contratti di cointeressenza, quando l'apporto è costituito esclusivamente dalla prestazione di lavoro - + D Utili spettanti ai soci promotori e ai soci fondatori delle società di capitali - + E Levata di protesti cambiari da parte dei segretari comunali - + G Indennità corrisposte per la cessazione di attività sportiva professionale - + H Indennità corrisposte per la cessazione dei rapporti di agenzia delle persone fisiche e delle società di persone, con esclusione delle somme maturate entro il 31.12.2003, già imputate per competenza e tassate come reddito d'impresa - + I Indennità corrisposte per la cessazione da funzioni notarili - + L Redditi derivanti dall’utilizzazione economica di opere dell’ingegno, di brevetti industriali e di processi, formule e informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico, che sono percepiti dagli aventi causa a titolo gratuito (ad es. eredi e legatari dell’autore e inventore) - + M Prestazioni di lavoro autonomo non esercitate abitualmente, obblighi di fare, di non fare o permettere - + N Indennità di trasferta, rimborso forfetario di spese, premi e compensi erogati: .. nell'esercizio diretto di attività sportive dilettantistiche - + O Prestazioni di lavoro autonomo non esercitate abitualmente, obblighi di fare, di non fare o permettere, per le quali non sussiste l'obbligo di iscrizione alla gestione separata (Circ. Inps 104/2001) - + P Compensi corrisposti a soggetti non residenti privi di stabile organizzazione per l'uso o la concessione in uso di attrezzature industriali, commerciali o scientifiche che si trovano nel territorio dello - + Q Provvigioni corrisposte ad agente o rappresentante di commercio monomandatario - + R Provvigioni corrisposte ad agente o rappresentante di commercio plurimandatario - + S Provvigioni corrisposte a commissionario - + T Provvigioni corrisposte a mediatore - + U Provvigioni corrisposte a procacciatore di affari - + V Provvigioni corrisposte a incaricato per le vendite a domicilio e provvigioni corrisposte a incaricato per la vendita porta a porta e per la vendita ambulante di giornali quotidiani e periodici (L. 25.02.1987, n. 67) - + W Corrispettivi erogati nel 2013 per prestazioni relative a contratti d'appalto cui si sono resi applicabili le disposizioni contenute nell'art. 25-ter D.P.R. 600/1973 - + X Canoni corrisposti nel 2004 da società o enti residenti, ovvero da stabili organizzazioni di società estere di cui all'art. 26-quater, c. 1, lett. a) e b) D.P.R. 600/1973, a società o stabili organizzazioni di società, situate in altro Stato membro dell'Unione Europea in presenza dei relativi requisiti richiesti, per i quali è stato effettuato nel 2006 il rimborso della ritenuta ai sensi dell'art. 4 D. Lgs. 143/2005 - + Y Canoni corrisposti dal 1.01.2005 al 26.07.2005 da soggetti di cui al punto precedente - + ZO Titolo diverso dai precedenti - + L1 Redditi derivanti dall’utilizzazione economica di opere dell’ingegno, di brevetti industriali e di processi, formule e informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico, che sono percepiti da soggetti che abbiano acquistato a titolo oneroso i diritti alla loro utilizzazione - + M1 Redditi derivanti dall’assunzione di obblighi di fare, di non fare o permettere - + M2 Prestazioni di lavoro autonomo non esercitate abitualmente per le quali sussiste l’obbligo di iscrizione alla Gestione Separata ENPAPI - + O1 Redditi derivanti dall’assunzione di obblighi di fare, di non fare o permettere, per le quali non sussiste l’obbligo di iscrizione alla gestione separata (Circ. INPS n. 104/2001) - + V1 +# Copyright 2021 Marco Colombo +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.update_module_names( + env.cr, + [ + ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), + ], + ) + openupgrade.rename_models( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + openupgrade.rename_tables( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + openupgrade.rename_xmlids( + env.cr, + [ + ( + "l10n_it_causali_pagamento.view_causale_pagamento_tree", + "l10n_it_payment_reason.view_payment_reason_tree", + ), + ( + "l10n_it_causali_pagamento.view_causale_pagamento_form", + "l10n_it_payment_reason.view_payment_reason_form", + ), + ( + "l10n_it_causali_pagamento.action_causale_pagamento", + "l10n_it_payment_reason.action_payment_reason", + ), + ( + "l10n_it_causali_pagamento.menu_causale_pagamento", + "l10n_it_payment_reason.menu_payment_reason", + ), + ], + ) diff --git a/l10n_it_payment_reason/models/__init__.py b/l10n_it_payment_reason/models/__init__.py new file mode 100644 index 000000000000..beba532c7db0 --- /dev/null +++ b/l10n_it_payment_reason/models/__init__.py @@ -0,0 +1 @@ +from . import payment_reason diff --git a/l10n_it_causali_pagamento/models/causale_pagamento.py b/l10n_it_payment_reason/models/payment_reason.py similarity index 77% rename from l10n_it_causali_pagamento/models/causale_pagamento.py rename to l10n_it_payment_reason/models/payment_reason.py index d40d4427c5f0..aaa71961ee7a 100644 --- a/l10n_it_causali_pagamento/models/causale_pagamento.py +++ b/l10n_it_payment_reason/models/payment_reason.py @@ -2,18 +2,18 @@ from odoo.exceptions import ValidationError -class CausalePagamento(models.Model): - _name = "causale.pagamento" - _description = "Causale Pagamento" +class PaymentReason(models.Model): + _name = "payment.reason" + _description = "Payment Reason" @api.constrains("code") def _check_code(self): - for causale in self: - domain = [("code", "=", causale.code)] + for reason in self: + domain = [("code", "=", reason.code)] elements = self.search(domain) if len(elements) > 1: raise ValidationError( - _("The element with code %s already exists") % causale.code + _("The element with code %s already exists") % reason.code ) def name_get(self): diff --git a/l10n_it_causali_pagamento/readme/CONFIGURE.rst b/l10n_it_payment_reason/readme/CONFIGURE.rst similarity index 100% rename from l10n_it_causali_pagamento/readme/CONFIGURE.rst rename to l10n_it_payment_reason/readme/CONFIGURE.rst diff --git a/l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst b/l10n_it_payment_reason/readme/CONTRIBUTORS.rst similarity index 100% rename from l10n_it_causali_pagamento/readme/CONTRIBUTORS.rst rename to l10n_it_payment_reason/readme/CONTRIBUTORS.rst diff --git a/l10n_it_causali_pagamento/readme/DESCRIPTION.rst b/l10n_it_payment_reason/readme/DESCRIPTION.rst similarity index 100% rename from l10n_it_causali_pagamento/readme/DESCRIPTION.rst rename to l10n_it_payment_reason/readme/DESCRIPTION.rst diff --git a/l10n_it_causali_pagamento/readme/USAGE.rst b/l10n_it_payment_reason/readme/USAGE.rst similarity index 100% rename from l10n_it_causali_pagamento/readme/USAGE.rst rename to l10n_it_payment_reason/readme/USAGE.rst diff --git a/l10n_it_payment_reason/security/ir.model.access.csv b/l10n_it_payment_reason/security/ir.model.access.csv new file mode 100644 index 000000000000..d1a539d23511 --- /dev/null +++ b/l10n_it_payment_reason/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_payment_reason_user,payment_reason user,model_payment_reason,base.group_user,1,0,0,0 +access_payment_reason_manager,payment_reason manager,model_payment_reason,account.group_account_manager,1,1,1,1 diff --git a/l10n_it_causali_pagamento/static/description/icon.png b/l10n_it_payment_reason/static/description/icon.png similarity index 100% rename from l10n_it_causali_pagamento/static/description/icon.png rename to l10n_it_payment_reason/static/description/icon.png diff --git a/l10n_it_causali_pagamento/static/description/index.html b/l10n_it_payment_reason/static/description/index.html similarity index 92% rename from l10n_it_causali_pagamento/static/description/index.html rename to l10n_it_payment_reason/static/description/index.html index 443c3d07f584..524d75326007 100644 --- a/l10n_it_causali_pagamento/static/description/index.html +++ b/l10n_it_payment_reason/static/description/index.html @@ -367,7 +367,7 @@

ITA - Causali pagamento

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Production/Stable License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

Tabelle delle causali di pagamento da usare, ad esempio, nelle ritenute d’acconto.

Table of contents

@@ -399,7 +399,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -425,7 +425,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/l10n-italy project on GitHub.

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

diff --git a/l10n_it_payment_reason/tests/__init__.py b/l10n_it_payment_reason/tests/__init__.py new file mode 100644 index 000000000000..acfd0ecd9096 --- /dev/null +++ b/l10n_it_payment_reason/tests/__init__.py @@ -0,0 +1 @@ +from . import test_reason diff --git a/l10n_it_payment_reason/tests/test_reason.py b/l10n_it_payment_reason/tests/test_reason.py new file mode 100644 index 000000000000..99401b10fe95 --- /dev/null +++ b/l10n_it_payment_reason/tests/test_reason.py @@ -0,0 +1,23 @@ +from odoo.exceptions import ValidationError +from odoo.tests.common import TransactionCase + + +class TestReasons(TransactionCase): + def setUp(self): + super(TestReasons, self).setUp() + self.reason_model = self.env["payment.reason"] + self.reason_b = self.env.ref("l10n_it_payment_reason.b") + + def test_reasons(self): + with self.assertRaises(ValidationError): + self.reason_model.create({"code": "B", "name": "Test"}) + name = self.reason_b.name_get() + self.assertEqual( + name, + [ + ( + self.reason_b.id, + "B - Utilizzazione economica, da parte dell'autore ...", + ) + ], + ) diff --git a/l10n_it_payment_reason/views/payment_reason_view.xml b/l10n_it_payment_reason/views/payment_reason_view.xml new file mode 100644 index 000000000000..abaf7d337cff --- /dev/null +++ b/l10n_it_payment_reason/views/payment_reason_view.xml @@ -0,0 +1,45 @@ + + + + + view.payment.reason.tree + payment.reason + + + + + + + + + + view.payment.reason.form + payment.reason + +
+ + + + + + +
+
+
+ + + Payment Reasons + payment.reason + + + + + +
diff --git a/setup/l10n_it_causali_pagamento/odoo/addons/l10n_it_causali_pagamento b/setup/l10n_it_causali_pagamento/odoo/addons/l10n_it_causali_pagamento deleted file mode 120000 index 4db465ef8fb1..000000000000 --- a/setup/l10n_it_causali_pagamento/odoo/addons/l10n_it_causali_pagamento +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_it_causali_pagamento \ No newline at end of file diff --git a/setup/l10n_it_payment_reason/odoo/addons/l10n_it_payment_reason b/setup/l10n_it_payment_reason/odoo/addons/l10n_it_payment_reason new file mode 120000 index 000000000000..44c46cc6c850 --- /dev/null +++ b/setup/l10n_it_payment_reason/odoo/addons/l10n_it_payment_reason @@ -0,0 +1 @@ +../../../../l10n_it_payment_reason \ No newline at end of file diff --git a/setup/l10n_it_causali_pagamento/setup.py b/setup/l10n_it_payment_reason/setup.py similarity index 100% rename from setup/l10n_it_causali_pagamento/setup.py rename to setup/l10n_it_payment_reason/setup.py From 11f1fca27afc9df0baee999e3a85db2d63addf1a Mon Sep 17 00:00:00 2001 From: tafaRU Date: Mon, 3 May 2021 11:50:45 +0200 Subject: [PATCH 24/24] [FIX] l10n_it_payment_reason: remove pre-migrate script as it doesn'work Also add INSTALL file containing instructions on how to properly perform the module renaming. --- l10n_it_payment_reason/README.rst | 124 ++++++++++++++ .../migrations/14.0.1.0.1/pre-migrate.py | 48 ------ l10n_it_payment_reason/readme/INSTALL.rst | 120 ++++++++++++++ .../static/description/index.html | 153 ++++++++++++++++-- 4 files changed, 383 insertions(+), 62 deletions(-) delete mode 100644 l10n_it_payment_reason/migrations/14.0.1.0.1/pre-migrate.py create mode 100644 l10n_it_payment_reason/readme/INSTALL.rst diff --git a/l10n_it_payment_reason/README.rst b/l10n_it_payment_reason/README.rst index 919874fff0e4..a91c363bed8c 100644 --- a/l10n_it_payment_reason/README.rst +++ b/l10n_it_payment_reason/README.rst @@ -32,6 +32,130 @@ Tabelle delle causali di pagamento da usare, ad esempio, nelle ritenute d'accont .. contents:: :local: +Installation +============ + +**Italiano** + +Qualora questo modulo venisse installato in un DB dove ``l10n_it_causali_pagamento`` è già installato, è necessario eseguire la seguente procedura. + +#. Installare ``openupgradelib``: + + .. code:: + + pip3 install git+https://github.com/OCA/openupgradelib.git@master + +#. Lanciare Odoo con il paramentro ``shell`` +#. Eseguire i seguenti comandi: + + .. code:: python + + >>> from openupgradelib import openupgrade + >>> openupgrade.rename_xmlids( + env.cr, + [ + ( + "l10n_it_causali_pagamento.view_causale_pagamento_tree", + "l10n_it_payment_reason.view_payment_reason_tree", + ), + ( + "l10n_it_causali_pagamento.view_causale_pagamento_form", + "l10n_it_payment_reason.view_payment_reason_form", + ), + ( + "l10n_it_causali_pagamento.action_causale_pagamento", + "l10n_it_payment_reason.action_payment_reason", + ), + ( + "l10n_it_causali_pagamento.menu_causale_pagamento", + "l10n_it_payment_reason.menu_payment_reason", + ), + ], + ) + >>> openupgrade.update_module_names( + env.cr, + [ + ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), + ], + ) + >>> openupgrade.rename_models( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + >>> openupgrade.rename_tables( + env.cr, + [ + ("causale_pagamento", "payment_reason"), + ], + ) + >>> env.cr.commit() + +#. Riavviare Odoo +#. Aggiornare ``l10n_it_payment_reason`` + +**English** + +When ``l10n_it_causali_pagamento`` is installed in the database you need to follow the following steps. + +1. Install ``openupgradelib``: + + .. code:: + + pip3 install git+https://github.com/OCA/openupgradelib.git@master + +2. Run Odoo with the ``shell`` command +3. Execute the following commands: + + .. code:: python + + >>> from openupgradelib import openupgrade + >>> openupgrade.rename_xmlids( + >>> openupgrade.rename_xmlids( + env.cr, + [ + ( + "l10n_it_causali_pagamento.view_causale_pagamento_tree", + "l10n_it_payment_reason.view_payment_reason_tree", + ), + ( + "l10n_it_causali_pagamento.view_causale_pagamento_form", + "l10n_it_payment_reason.view_payment_reason_form", + ), + ( + "l10n_it_causali_pagamento.action_causale_pagamento", + "l10n_it_payment_reason.action_payment_reason", + ), + ( + "l10n_it_causali_pagamento.menu_causale_pagamento", + "l10n_it_payment_reason.menu_payment_reason", + ), + ], + ) + >>> openupgrade.update_module_names( + env.cr, + [ + ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), + ], + ) + >>> openupgrade.rename_models( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + >>> openupgrade.rename_tables( + env.cr, + [ + ("causale_pagamento", "payment_reason"), + ], + ) + >>> env.cr.commit() + +4. Restart Odoo +5. Update ``l10n_it_payment_reason`` module + Configuration ============= diff --git a/l10n_it_payment_reason/migrations/14.0.1.0.1/pre-migrate.py b/l10n_it_payment_reason/migrations/14.0.1.0.1/pre-migrate.py deleted file mode 100644 index db33ff039821..000000000000 --- a/l10n_it_payment_reason/migrations/14.0.1.0.1/pre-migrate.py +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2020 Sergio Zanchetta -# Copyright 2021 Marco Colombo -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openupgradelib import openupgrade - - -@openupgrade.migrate() -def migrate(env, version): - openupgrade.update_module_names( - env.cr, - [ - ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), - ], - ) - openupgrade.rename_models( - env.cr, - [ - ("causale.pagamento", "payment.reason"), - ], - ) - openupgrade.rename_tables( - env.cr, - [ - ("causale.pagamento", "payment.reason"), - ], - ) - openupgrade.rename_xmlids( - env.cr, - [ - ( - "l10n_it_causali_pagamento.view_causale_pagamento_tree", - "l10n_it_payment_reason.view_payment_reason_tree", - ), - ( - "l10n_it_causali_pagamento.view_causale_pagamento_form", - "l10n_it_payment_reason.view_payment_reason_form", - ), - ( - "l10n_it_causali_pagamento.action_causale_pagamento", - "l10n_it_payment_reason.action_payment_reason", - ), - ( - "l10n_it_causali_pagamento.menu_causale_pagamento", - "l10n_it_payment_reason.menu_payment_reason", - ), - ], - ) diff --git a/l10n_it_payment_reason/readme/INSTALL.rst b/l10n_it_payment_reason/readme/INSTALL.rst new file mode 100644 index 000000000000..0e5aab32cf8d --- /dev/null +++ b/l10n_it_payment_reason/readme/INSTALL.rst @@ -0,0 +1,120 @@ +**Italiano** + +Qualora questo modulo venisse installato in un DB dove ``l10n_it_causali_pagamento`` è già installato, è necessario eseguire la seguente procedura. + +#. Installare ``openupgradelib``: + + .. code:: + + pip3 install git+https://github.com/OCA/openupgradelib.git@master + +#. Lanciare Odoo con il paramentro ``shell`` +#. Eseguire i seguenti comandi: + + .. code:: python + + >>> from openupgradelib import openupgrade + >>> openupgrade.rename_xmlids( + env.cr, + [ + ( + "l10n_it_causali_pagamento.view_causale_pagamento_tree", + "l10n_it_payment_reason.view_payment_reason_tree", + ), + ( + "l10n_it_causali_pagamento.view_causale_pagamento_form", + "l10n_it_payment_reason.view_payment_reason_form", + ), + ( + "l10n_it_causali_pagamento.action_causale_pagamento", + "l10n_it_payment_reason.action_payment_reason", + ), + ( + "l10n_it_causali_pagamento.menu_causale_pagamento", + "l10n_it_payment_reason.menu_payment_reason", + ), + ], + ) + >>> openupgrade.update_module_names( + env.cr, + [ + ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), + ], + ) + >>> openupgrade.rename_models( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + >>> openupgrade.rename_tables( + env.cr, + [ + ("causale_pagamento", "payment_reason"), + ], + ) + >>> env.cr.commit() + +#. Riavviare Odoo +#. Aggiornare ``l10n_it_payment_reason`` + +**English** + +When ``l10n_it_causali_pagamento`` is installed in the database you need to follow the following steps. + +1. Install ``openupgradelib``: + + .. code:: + + pip3 install git+https://github.com/OCA/openupgradelib.git@master + +2. Run Odoo with the ``shell`` command +3. Execute the following commands: + + .. code:: python + + >>> from openupgradelib import openupgrade + >>> openupgrade.rename_xmlids( + >>> openupgrade.rename_xmlids( + env.cr, + [ + ( + "l10n_it_causali_pagamento.view_causale_pagamento_tree", + "l10n_it_payment_reason.view_payment_reason_tree", + ), + ( + "l10n_it_causali_pagamento.view_causale_pagamento_form", + "l10n_it_payment_reason.view_payment_reason_form", + ), + ( + "l10n_it_causali_pagamento.action_causale_pagamento", + "l10n_it_payment_reason.action_payment_reason", + ), + ( + "l10n_it_causali_pagamento.menu_causale_pagamento", + "l10n_it_payment_reason.menu_payment_reason", + ), + ], + ) + >>> openupgrade.update_module_names( + env.cr, + [ + ("l10n_it_causali_pagamento", "l10n_it_payment_reason"), + ], + ) + >>> openupgrade.rename_models( + env.cr, + [ + ("causale.pagamento", "payment.reason"), + ], + ) + >>> openupgrade.rename_tables( + env.cr, + [ + ("causale_pagamento", "payment_reason"), + ], + ) + >>> env.cr.commit() + +4. Restart Odoo +5. Update ``l10n_it_payment_reason`` module diff --git a/l10n_it_payment_reason/static/description/index.html b/l10n_it_payment_reason/static/description/index.html index 524d75326007..e7cc08dfbf16 100644 --- a/l10n_it_payment_reason/static/description/index.html +++ b/l10n_it_payment_reason/static/description/index.html @@ -372,30 +372,155 @@

ITA - Causali pagamento

Table of contents

+
+

Installation

+

Italiano

+

Qualora questo modulo venisse installato in un DB dove l10n_it_causali_pagamento è già installato, è necessario eseguire la seguente procedura.

+
    +
  1. Installare openupgradelib:

    +
    +pip3 install git+https://github.com/OCA/openupgradelib.git@master
    +
    +
  2. +
  3. Lanciare Odoo con il paramentro shell

    +
  4. +
  5. Eseguire i seguenti comandi:

    +
    + >>> from openupgradelib import openupgrade
    + >>> openupgrade.rename_xmlids(
    +       env.cr,
    +       [
    +           (
    +               "l10n_it_causali_pagamento.view_causale_pagamento_tree",
    +               "l10n_it_payment_reason.view_payment_reason_tree",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.view_causale_pagamento_form",
    +               "l10n_it_payment_reason.view_payment_reason_form",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.action_causale_pagamento",
    +               "l10n_it_payment_reason.action_payment_reason",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.menu_causale_pagamento",
    +               "l10n_it_payment_reason.menu_payment_reason",
    +           ),
    +       ],
    +)
    +>>> openupgrade.update_module_names(
    +       env.cr,
    +       [
    +           ("l10n_it_causali_pagamento", "l10n_it_payment_reason"),
    +       ],
    +)
    +>>> openupgrade.rename_models(
    +       env.cr,
    +       [
    +           ("causale.pagamento", "payment.reason"),
    +       ],
    +)
    +>>> openupgrade.rename_tables(
    +     env.cr,
    +     [
    +         ("causale_pagamento", "payment_reason"),
    +     ],
    +)
    +>>> env.cr.commit()
    +
    +
  6. +
  7. Riavviare Odoo

    +
  8. +
  9. Aggiornare l10n_it_payment_reason

    +
  10. +
+

English

+

When l10n_it_causali_pagamento is installed in the database you need to follow the following steps.

+
    +
  1. Install openupgradelib:

    +
    +pip3 install git+https://github.com/OCA/openupgradelib.git@master
    +
    +
  2. +
  3. Run Odoo with the shell command

    +
  4. +
  5. Execute the following commands:

    +
    + >>> from openupgradelib import openupgrade
    + >>> openupgrade.rename_xmlids(
    + >>> openupgrade.rename_xmlids(
    +       env.cr,
    +       [
    +           (
    +               "l10n_it_causali_pagamento.view_causale_pagamento_tree",
    +               "l10n_it_payment_reason.view_payment_reason_tree",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.view_causale_pagamento_form",
    +               "l10n_it_payment_reason.view_payment_reason_form",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.action_causale_pagamento",
    +               "l10n_it_payment_reason.action_payment_reason",
    +           ),
    +           (
    +               "l10n_it_causali_pagamento.menu_causale_pagamento",
    +               "l10n_it_payment_reason.menu_payment_reason",
    +           ),
    +       ],
    +)
    +>>> openupgrade.update_module_names(
    +       env.cr,
    +       [
    +           ("l10n_it_causali_pagamento", "l10n_it_payment_reason"),
    +       ],
    +)
    +>>> openupgrade.rename_models(
    +       env.cr,
    +       [
    +           ("causale.pagamento", "payment.reason"),
    +       ],
    +)
    +>>> openupgrade.rename_tables(
    +     env.cr,
    +     [
    +         ("causale_pagamento", "payment_reason"),
    +     ],
    +)
    +>>> env.cr.commit()
    +
    +
  6. +
  7. Restart Odoo

    +
  8. +
  9. Update l10n_it_payment_reason module

    +
  10. +
+
-

Configuration

+

Configuration

La tabella viene aggiunta nell’area contabilità, ed è raggiungibile nella sezione configurazione. Occorre avere i privilegi di account manager.

-

Usage

+

Usage

Installando il modulo vengono precaricati i codici disponibili. È possibile aggiungere nuovi codici o modificare quelli esistenti. Non è possibile avere più di un elemento con lo stesso codice.

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub 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 @@ -403,15 +528,15 @@

Bug Tracker

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

-

Credits

+

Credits

-

Authors

+

Authors

  • Agile Business Group
-

Contributors

+

Contributors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose