Skip to content

Latest commit

 

History

History
233 lines (181 loc) · 7.12 KB

README.rst

File metadata and controls

233 lines (181 loc) · 7.12 KB

ITA - Codici carica

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

Italiano

Tabella dei codici carica da usare nelle dichiarazioni fiscali italiane.

English

Table of appointment codes to use into italian Tax returns.

Table of contents

Italiano

Qualora questo modulo venisse installato in un DB dove l10n_it_codici_carica è 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_codici_carica.view_codice_carica_tree",
                   "l10n_it_appointment_code.view_appointment_code_tree",
               ),
               (
                   "l10n_it_codici_carica.view_codice_carica_form",
                   "l10n_it_appointment_code.view_appointment_code_form",
               ),
               (
                   "l10n_it_codici_carica.action_codice_carica",
                   "l10n_it_appointment_code.action_appointment_code",
               ),
               (
                   "l10n_it_codici_carica.menu_codice_carica",
                   "l10n_it_appointment_code.menu_appointment_code",
               ),
           ],
    )
    >>> openupgrade.update_module_names(
           env.cr,
           [
               ("l10n_it_codici_carica", "l10n_it_appointment_code"),
           ],
    )
    >>> openupgrade.rename_models(
           env.cr,
           [
               ("codice.carica", "appointment.code"),
           ],
    )
    >>> openupgrade.rename_tables(
         env.cr,
         [
             ("codice_carica", "appointment_code"),
         ],
    )
    >>> env.cr.commit()
  4. Riavviare Odoo

  5. Aggiornare l10n_it_appointment_code

English

When l10n_it_codici_carica 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(
           env.cr,
           [
               (
                   "l10n_it_codici_carica.view_codice_carica_tree",
                   "l10n_it_appointment_code.view_appointment_code_tree",
               ),
               (
                   "l10n_it_codici_carica.view_codice_carica_form",
                   "l10n_it_appointment_code.view_appointment_code_form",
               ),
               (
                   "l10n_it_codici_carica.action_codice_carica",
                   "l10n_it_appointment_code.action_appointment_code",
               ),
               (
                   "l10n_it_codici_carica.menu_codice_carica",
                   "l10n_it_appointment_code.menu_appointment_code",
               ),
           ],
    )
    >>> openupgrade.update_module_names(
           env.cr,
           [
               ("l10n_it_codici_carica", "l10n_it_appointment_code"),
           ],
    )
    >>> openupgrade.rename_models(
           env.cr,
           [
               ("codice.carica", "appointment.code"),
           ],
    )
    >>> openupgrade.rename_tables(
         env.cr,
         [
             ("codice_carica", "appointment_code"),
         ],
    )
    >>> env.cr.commit()
  4. Restart Odoo

  5. Update l10n_it_appointment_code module

Italiano

La tabella viene aggiunta nell'area Fatturazione, ed è raggiungibile nella sezione Configurazione. Occorre avere i privilegi di Responsabile fatturazione.

English

Table is inserted on Invoicing and can be reached in the configuration. Billing Manager privileges are needed.

Italiano

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.

English

Available codes are preloaded on module installation. The existing codes can be modified or new ones can be added. It is not possible to have more than one element with the same code.

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.

  • Openforce di Camilli Alessandro

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.