Skip to main content

Aggiunge la tabella delle causali di pagamento da usare ad esempio nelle ritenute d'acconto

Project description

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

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. Lanciare Odoo con il paramentro shell

  3. 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()
  4. Riavviare Odoo

  5. 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:

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

  3. 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()
  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. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo14_addon_l10n_it_payment_reason-14.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_l10n_it_payment_reason-14.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15f723e126f8664800b22a1e51ed88e5225ad7c1dc594bec96e40abcc966fdba
MD5 dcb5b066a2e17a6628a276276fa4263b
BLAKE2b-256 f4696e56860cf867063a599b6259e5a2920e412092552dfd414522ccb6088584

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page