-
-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fba2cde
commit 9221c19
Showing
3 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
openupgrade_scripts/scripts/account_edi_ubl_cii/16.0.1.0/pre-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from openupgradelib import openupgrade | ||
|
||
_xmlids_renames = [ | ||
( | ||
"l10n_be_edi.edi_efff_1", | ||
"account_edi_ubl_cii.edi_efff_1", | ||
), | ||
( | ||
"account_edi_facturx.edi_facturx_1_0_05", | ||
"account_edi_ubl_cii.edi_facturx_1_0_05", | ||
), | ||
( | ||
"l10n_nl_edi.edi_nlcius_1", | ||
"account_edi_ubl_cii.edi_nlcius_1", | ||
), | ||
( | ||
"account_edi_ubl.edi_ubl_2_1", | ||
"account_edi_ubl_cii.edi_ubl_2_1", | ||
), | ||
] | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.rename_xmlids(env.cr, _xmlids_renames) |
34 changes: 34 additions & 0 deletions
34
openupgrade_scripts/scripts/account_edi_ubl_cii/16.0.1.0/upgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
---Models in module 'account_edi_ubl_cii'--- | ||
new model account.edi.xml.ubl_a_nz [abstract] | ||
# NOTHING TO DO | ||
|
||
---Fields in module 'account_edi_ubl_cii'--- | ||
---XML records in module 'account_edi_ubl_cii'--- | ||
NEW account.edi.format: account_edi_ubl_cii.edi_efff_1 [renamed from l10n_be_edi module] | ||
NEW account.edi.format: account_edi_ubl_cii.edi_facturx_1_0_05 [renamed from account_edi_facturx module] | ||
NEW account.edi.format: account_edi_ubl_cii.edi_nlcius_1 [renamed from l10n_nl_edi module] | ||
NEW account.edi.format: account_edi_ubl_cii.edi_ubl_2_1 [renamed from account_edi_ubl module] | ||
DEL account.edi.format: account_edi_facturx.edi_facturx_1_0_05 [renamed to account_edi_ubl_cii module] | ||
DEL account.edi.format: account_edi_ubl.edi_ubl_2_1 [renamed to account_edi_ubl_cii module] | ||
DEL account.edi.format: l10n_be_edi.edi_efff_1 [renamed to account_edi_ubl_cii module] | ||
DEL account.edi.format: l10n_nl_edi.edi_nlcius_1 [renamed to account_edi_ubl_cii module] | ||
# DONE pre-migration: rename xmlid | ||
|
||
NEW account.edi.format: account_edi_ubl_cii.ubl_a_nz | ||
DEL account.edi.format: l10n_no_edi.edi_ehf_3 | ||
DEL ir.ui.view: account_edi_facturx.account_invoice_facturx_export | ||
DEL ir.ui.view: account_edi_facturx.account_invoice_line_facturx_export | ||
DEL ir.ui.view: account_edi_facturx.account_invoice_partner_facturx_export | ||
DEL ir.ui.view: account_edi_facturx.account_invoice_pdfa_3_facturx_metadata | ||
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice | ||
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice_line | ||
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice_partner | ||
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice | ||
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice_line | ||
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice_partner | ||
DEL ir.ui.view: l10n_be_edi.export_efff_invoice | ||
DEL ir.ui.view: l10n_nl_edi.export_nlcius_invoice | ||
DEL ir.ui.view: l10n_nl_edi.export_nlcius_invoice_partner | ||
DEL ir.ui.view: l10n_no_edi.export_ehf_3_invoice | ||
DEL ir.ui.view: l10n_no_edi.export_ehf_3_invoice_partner | ||
# NOTHING TO DO |