Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 <lorenzo.battistini@agilebg.com>
* Alex Comba <alex.comba@agilebg.com>
* 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 di pagamento",
"summary": "Aggiunge la tabella delle causali di pagamento da usare ad esempio "
"nelle ritenute d'acconto",
"version": "16.0.1.0.0",
"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