Skip to content

Latest commit

 

History

History
 
 

l10n_it_payment_reason

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Table of contents

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

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

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.

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.

  • Agile Business Group

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.