Skip to content

Latest commit

 

History

History
141 lines (102 loc) · 4.38 KB

File metadata and controls

141 lines (102 loc) · 4.38 KB

ITA - Causali pagamento per ritenute d'acconto

Beta License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

Bridge module between l10n_it_withholding_tax and l10n_it_payment_reason

Table of contents

Italiano

Qualora questo modulo venisse installato in un DB dove l10n_it_withholding_tax_causali è 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_fields(
           env,
           [
               (
                   "withholding.tax",
                   "withholding_tax",
                   "causale_pagamento_id",
                   "payment_reason_id",
               ),
           ],
    )
    >>> env.cr.commit()
  4. Riavviare Odoo

  5. Installare l10n_it_withholding_tax_reason

English

When l10n_it_withholding_tax_causali 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_fields(
           env,
           [
               (
                   "withholding.tax",
                   "withholding_tax",
                   "causale_pagamento_id",
                   "payment_reason_id",
               ),
           ],
    )
    >>> env.cr.commit()
  4. Restart Odoo

  5. Install l10n_it_withholding_tax_reason module

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.