Skip to content

Commit 30b40e9

Browse files
dnplkndllgithub-actions[bot]
authored andcommitted
[MIG] l10n_id_efaktur_coretax load + l10n_tw/l10n_latam_invoice_document noop
1 parent d5ea8a9 commit 30b40e9

5 files changed

Lines changed: 447 additions & 3 deletions

File tree

docsource/modules180-190.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Module coverage 18.0 -> 19.0
438438
+---------------------------------------------------+----------------------+-------------------------------------------------+
439439
| |del| l10n_id_efaktur | | |
440440
+---------------------------------------------------+----------------------+-------------------------------------------------+
441-
| l10n_id_efaktur_coretax | | |
441+
| l10n_id_efaktur_coretax | Done | |
442442
+---------------------------------------------------+----------------------+-------------------------------------------------+
443443
| l10n_id_pos | |No DB layout changes. |
444444
+---------------------------------------------------+----------------------+-------------------------------------------------+
@@ -528,7 +528,7 @@ Module coverage 18.0 -> 19.0
528528
+---------------------------------------------------+----------------------+-------------------------------------------------+
529529
| l10n_latam_check | | |
530530
+---------------------------------------------------+----------------------+-------------------------------------------------+
531-
| l10n_latam_invoice_document | | |
531+
| l10n_latam_invoice_document | Nothing to do | |
532532
+---------------------------------------------------+----------------------+-------------------------------------------------+
533533
| l10n_lb_account | | |
534534
+---------------------------------------------------+----------------------+-------------------------------------------------+
@@ -662,7 +662,7 @@ Module coverage 18.0 -> 19.0
662662
+---------------------------------------------------+----------------------+-------------------------------------------------+
663663
| l10n_tr_nilvera_einvoice_extended | | |
664664
+---------------------------------------------------+----------------------+-------------------------------------------------+
665-
| l10n_tw | | |
665+
| l10n_tw | Nothing to do | |
666666
+---------------------------------------------------+----------------------+-------------------------------------------------+
667667
| l10n_tw_edi_ecpay | | |
668668
+---------------------------------------------------+----------------------+-------------------------------------------------+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Repoint the multi-company ir.rule to the renamed Coretax document model.
2+
from openupgradelib import openupgrade
3+
4+
5+
@openupgrade.migrate()
6+
def migrate(env, version):
7+
openupgrade.load_data(
8+
env,
9+
"l10n_id_efaktur_coretax",
10+
"19.0.1.0/noupdate_changes.xml",
11+
)
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---Models in module 'l10n_id_efaktur_coretax'---
2+
obsolete model l10n_id_efaktur.document
3+
obsolete model l10n_id_efaktur.efaktur.range
4+
# NOTHING TO DO: legacy DGT e-faktur models, superseded by the Coretax system (CSV->XML, Jan 2025). Data preserved as obsolete; no carry-over to l10n_id_efaktur_coretax.document.
5+
---Fields in module 'l10n_id_efaktur_coretax'---
6+
l10n_id_efaktur / account.move / l10n_id_efaktur_document (many2one): DEL relation: l10n_id_efaktur.document
7+
l10n_id_efaktur / account.move / l10n_id_efaktur_range (many2one): DEL relation: l10n_id_efaktur.efaktur.range
8+
# NOTHING TO DO — fields of the obsolete DGT e-faktur models (l10n_id_efaktur.document/efaktur.range) + removed account.move columns; data preserved as obsolete (see Models), residual columns handled by database_cleanup.
9+
l10n_id_efaktur / account.move / l10n_id_kode_transaksi (selection): selection_keys added: [10] (most likely nothing to do)
10+
# NOTHING TO DO — additive selection key; no removed keys, existing rows unaffected.
11+
l10n_id_efaktur / account.move / l10n_id_replace_invoice_id (many2one): DEL relation: account.move
12+
l10n_id_efaktur / account.move / l10n_id_tax_number (char) : DEL
13+
l10n_id_efaktur / l10n_id_efaktur.document / active (boolean) : DEL
14+
l10n_id_efaktur / l10n_id_efaktur.document / activity_ids (one2many) : DEL relation: mail.activity
15+
l10n_id_efaktur / l10n_id_efaktur.document / attachment_id (many2one) : DEL relation: ir.attachment
16+
l10n_id_efaktur / l10n_id_efaktur.document / company_id (many2one) : DEL relation: res.company, required
17+
l10n_id_efaktur / l10n_id_efaktur.document / invoice_ids (one2many) : DEL relation: account.move
18+
l10n_id_efaktur / l10n_id_efaktur.document / message_follower_ids (one2many): DEL relation: mail.followers
19+
l10n_id_efaktur / l10n_id_efaktur.document / message_ids (one2many) : DEL relation: mail.message
20+
l10n_id_efaktur / l10n_id_efaktur.document / name (char) : DEL required
21+
l10n_id_efaktur / l10n_id_efaktur.document / rating_ids (one2many) : DEL relation: rating.rating
22+
l10n_id_efaktur / l10n_id_efaktur.document / website_message_ids (one2many): DEL relation: mail.message
23+
l10n_id_efaktur / l10n_id_efaktur.efaktur.range / available (integer) : DEL
24+
l10n_id_efaktur / l10n_id_efaktur.efaktur.range / company_id (many2one) : DEL relation: res.company, required
25+
l10n_id_efaktur / l10n_id_efaktur.efaktur.range / max (char) : DEL required
26+
l10n_id_efaktur / l10n_id_efaktur.efaktur.range / min (char) : DEL required
27+
# NOTHING TO DO — fields of the obsolete DGT e-faktur models (l10n_id_efaktur.document/efaktur.range) + removed account.move columns; data preserved as obsolete (see Models), residual columns handled by database_cleanup.
28+
l10n_id_efaktur / res.partner / l10n_id_kode_transaksi (selection): selection_keys added: [10] (most likely nothing to do)
29+
# NOTHING TO DO — additive selection key; no removed keys, existing rows unaffected.
30+
l10n_id_efaktur_coretax / account.move / l10n_id_coretax_custom_doc_month_year (date): NEW
31+
# NOTHING TO DO — new Coretax field; column auto-added by Odoo.
32+
l10n_id_efaktur_coretax / account.move / l10n_id_kode_transaksi (False): DEL selection_keys: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10'], mode: modify
33+
l10n_id_efaktur_coretax / res.partner / l10n_id_kode_transaksi (False): DEL selection_keys: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10'], mode: modify
34+
# NOTHING TO DO — historical: old DGT kode_transaksi codes ('01'..'10') on existing rows retained as-is; Coretax codes apply to new documents; legacy values not remapped by design (analyzer: most likely nothing to do).
35+
---XML records in module 'l10n_id_efaktur_coretax'---
36+
DEL ir.actions.act_window: l10n_id_efaktur.efaktur_invoice_action
37+
NEW ir.actions.server: l10n_id_efaktur_coretax.dowload_efaktur_action [renamed from l10n_id_efaktur module]
38+
DEL ir.actions.server: l10n_id_efaktur.dowload_efaktur_action [renamed to l10n_id_efaktur_coretax module]
39+
DEL ir.model.access: l10n_id_efaktur.access_efaktur_document_user
40+
DEL ir.model.access: l10n_id_efaktur.access_efaktur_user
41+
# NOTHING TO DO — actions/views/access records from the l10n_id_efaktur→l10n_id_efaktur_coretax module rename; xmlid reassignment or removed on update, no transactional data.
42+
NEW ir.rule: l10n_id_efaktur_coretax.efaktur_document_multi_company [renamed from l10n_id_efaktur module] (noupdate)
43+
DEL ir.rule: l10n_id_efaktur.efaktur_document_multi_company [renamed to l10n_id_efaktur_coretax module] (noupdate)
44+
# DONE: multi-company ir.rule repointed to the renamed Coretax document model via post-migration load_data(noupdate_changes.xml).
45+
NEW ir.ui.view: l10n_id_efaktur_coretax.view_account_invoice_filter
46+
DEL ir.ui.view: l10n_id_efaktur.account_move_efaktur_form_view
47+
DEL ir.ui.view: l10n_id_efaktur.account_move_efaktur_tree_view
48+
DEL ir.ui.view: l10n_id_efaktur.efaktur_tree_view
49+
DEL ir.ui.view: l10n_id_efaktur.l10n_id_efaktur_document_filter_view
50+
DEL ir.ui.view: l10n_id_efaktur.l10n_id_efaktur_document_form_view
51+
DEL ir.ui.view: l10n_id_efaktur.l10n_id_efaktur_document_list_view
52+
DEL ir.ui.view: l10n_id_efaktur.res_config_settings_view_form
53+
DEL ir.ui.view: l10n_id_efaktur.res_partner_tax_form_view
54+
DEL ir.ui.view: l10n_id_efaktur.view_account_invoice_filter
55+
DEL ir.ui.view: l10n_id_efaktur_coretax.product_uom_categ_form_view_inherit_coretax
56+
# NOTHING TO DO — actions/views/access records from the l10n_id_efaktur→l10n_id_efaktur_coretax module rename; xmlid reassignment or removed on update, no transactional data.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---Models in module 'l10n_latam_invoice_document'---
2+
---Fields in module 'l10n_latam_invoice_document'---
3+
l10n_latam_invoice_document / account.move / l10n_latam_use_documents (boolean): not related anymore
4+
l10n_latam_invoice_document / account.move / l10n_latam_use_documents (boolean): now a function
5+
# NOTHING TO DO: non-stored related -> non-stored computed; no DB column either side, ORM computes on read
6+
---XML records in module 'l10n_latam_invoice_document'---

0 commit comments

Comments
 (0)