Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] l10n_it_causali_pagamento #1987

Merged
merged 24 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
cfeead2
ADD l10n_it_causali_pagamento and l10n_it_withholding_tax_causali
eLBati Aug 23, 2018
9aaf778
[FIX] description overflow
SimoRubi Aug 31, 2018
a6f9d53
[UPD] Update l10n_it_causali_pagamento.pot
oca-travis Sep 10, 2018
619dc50
[MIG] l10n_it_causali_pagamento: Migration to 11.0
Oct 31, 2018
4fe8697
[UPD] Update l10n_it_causali_pagamento.pot
oca-travis Nov 6, 2018
e1d75b1
[MIG] l10n_it_causali_pagamento: Migration to 12.0
eLBati Nov 8, 2018
b718bd3
[UPD] Update l10n_it_causali_pagamento.pot
oca-travis Dec 4, 2018
5b003b3
Update translation files
oca-transbot Dec 9, 2018
eae3c47
Translated using Weblate (Italian)
primes2h Dec 9, 2018
7acfa10
[ADD] icon.png
OCA-git-bot Apr 3, 2019
c0e7c4d
[UPD] README.rst
OCA-git-bot Jul 29, 2019
2971b0a
merge PR 1264 1717 1728 1737 1739
May 13, 2020
21fea49
FIX license compatibility
eLBati Sep 10, 2020
5a321df
[UPD] Update l10n_it_causali_pagamento.pot
oca-travis Sep 14, 2020
ad0269e
[UPD] README.rst
OCA-git-bot Sep 14, 2020
6e5d270
l10n_it_causali_pagamento 12.0.1.0.2
OCA-git-bot Sep 14, 2020
37258b5
Update translation files
oca-transbot Sep 14, 2020
b59fc68
[IMP] l10n_it_causali_pagamento: modify casuale.pagamento records acc…
tafaRU Sep 11, 2020
b709b21
[UPD] README.rst
OCA-git-bot Oct 2, 2020
d250f5d
l10n_it_causali_pagamento 12.0.2.0.0
OCA-git-bot Oct 2, 2020
af18c23
[IMP] l10n_it_causali_pagamento: black, isort, prettier
TheMule71 Dec 17, 2020
11bce94
[14.0][MIG] l10n_it_causali_pagamento Migration to 14.0 from 12.0
TheMule71 Dec 17, 2020
056f1c1
[UPD] rename to l10n_it_payment_reason
TheMule71 Dec 17, 2020
11f1fca
[FIX] l10n_it_payment_reason: remove pre-migrate script as it doesn'work
tafaRU May 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
212 changes: 212 additions & 0 deletions l10n_it_payment_reason/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
=======================
ITA - Causali pagamento
=======================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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_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_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
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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

**Table of contents**

.. 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
=============

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.
È 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 <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_payment_reason%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Agile Business Group

Contributors
~~~~~~~~~~~~

* Lorenzo Battistini <[email protected]>
* Alex Comba <[email protected]>
* Marco Colombo <https://github.com/TheMule71>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_payment_reason>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_it_payment_reason/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions l10n_it_payment_reason/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2018 Lorenzo Battistini - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"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.1",
"development_status": "Production/Stable",
"category": "Account",
"author": "Agile Business Group," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"depends": [
"l10n_it_account",
],
"data": [
"security/ir.model.access.csv",
"data/payment_reason_data.xml",
"views/payment_reason_view.xml",
],
"installable": True,
}
Loading