Metadata-Version: 2.1
Name: odoo14-addon-l10n-it-payment-reason
Version: 14.0.1.1.0
Summary: Aggiunge la tabella delle causali di pagamento da usare ad esempio nelle ritenute d'acconto
Home-page: https://github.com/OCA/l10n-italy
Author: Agile Business Group,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.6
Requires-Dist: odoo14-addon-l10n-it-account
Requires-Dist: odoo (<14.1dev,>=14.0a)

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


