Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| account_edi |Nothing to do |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| account_edi_proxy_client | | |
| account_edi_proxy_client |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| account_edi_ubl_cii |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand All @@ -24,7 +24,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| account_payment |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| account_peppol | | |
| account_peppol |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| |new| account_peppol_advanced_fields | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---Models in module 'account_edi_proxy_client'---
---Fields in module 'account_edi_proxy_client'---
account_edi_proxy_client / account_edi_proxy_client.user / is_token_out_of_sync (boolean): NEW
account_edi_proxy_client / account_edi_proxy_client.user / token_sync_version (integer) : NEW
# NOTHING TO DO: empty values are fine for existing records

---XML records in module 'account_edi_proxy_client'---
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2026 Hunki Enterprises BV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from markupsafe import Markup
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
admin_channel = env.ref("mail.channel_admin")
if admin_channel and any(
c.account_peppol_proxy_state == "sender" for c in env["res.company"].search([])
):
admin_channel.message_post(
body=Markup(
"<h1>Openupgrade v18: account_peppol</h1>"
"<p>"
"Cannot automatically determine res.company#peppol_external_provider."
"You should fill this field manually or rerun the peppol wizard."
"</p>"
)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2026 Hunki Enterprises BV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade

copy_columns = {
"res_company": [
("account_peppol_proxy_state", None, None),
]
}


@openupgrade.migrate()
def migrate(env, version):
openupgrade.copy_columns(env.cr, copy_columns)
openupgrade.map_values(
env.cr,
openupgrade.get_legacy_name("account_peppol_proxy_state"),
"account_peppol_proxy_state",
[("in_verification", "not_registered")],
table="res_company",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---Models in module 'account_peppol'---
obsolete model account_peppol.service.wizard (renamed to peppol.config.wizard) [transient]
new model peppol.config.wizard (renamed from account_peppol.service.wizard) [transient]
# NOTHING TO DO

---Fields in module 'account_peppol'---
account_peppol / account_edi_proxy_client.user / peppol_verification_code (char): DEL
# NOTHING TO DO

account_peppol / res.company / account_peppol_proxy_state (selection): selection_keys removed: [in_verification]
# DONE: mapped 'in_verification' to 'not_registered'

account_peppol / res.company / peppol_activate_self_billing_sending (boolean): NEW
# NOTHING TO DO

account_peppol / res.company / peppol_external_provider (char): NEW
# NOTHING TO DO: we don't know this and don't want to (probably can't) query external resources during migration

account_peppol / res.company / peppol_metadata (json) : NEW
account_peppol / res.company / peppol_metadata_updated_at (datetime): NEW
# NOTHING TO DO: fields seem unused in CE

account_peppol / res.company / peppol_self_billing_reception_journal_id (many2one): NEW relation: account.journal, isfunction: function, stored
# NOTHING TO DO: rely on ORM computation

account_peppol_selfbilling / account.journal / is_self_billing (boolean) : module is now 'account' ('account_peppol_selfbilling')
# NOTHING TO DO

---XML records in module 'account_peppol'---
NEW ir.actions.client: account_peppol.action_peppol_auth_callback
NEW ir.cron: account_peppol.ir_cron_peppol_webhook_keepalive
NEW ir.model.access: account_peppol.access_peppol_config_wizard
DEL ir.model.access: account_peppol.account_peppol_service_wizard_system
NEW ir.ui.view: account_peppol.peppol_config_wizard_form
NEW ir.ui.view: account_peppol.portal_my_details
DEL ir.ui.view: account_peppol.account_journal_dashboard_kanban_view
DEL ir.ui.view: account_peppol.peppol_service_configuration
DEL ir.ui.view: account_peppol.portal_my_details_fields
DEL ir.ui.view: account_peppol_selfbilling.account_move_form_inherit_self_billing
DEL ir.ui.view: account_peppol_selfbilling.report_invoice_document
DEL ir.ui.view: account_peppol_selfbilling.view_account_journal_form_inherited
NEW mail.template: account_peppol.mail_template_peppol_registration
# NOTHING TO DO

DEL mail.template: account_peppol_selfbilling.email_template_edi_self_billing_credit_note [renamed to account module] (noupdate)
DEL mail.template: account_peppol_selfbilling.email_template_edi_self_billing_invoice [renamed to account module] (noupdate)
# NOTHING TO DO: handled in account migration
Loading