Skip to content
12 changes: 6 additions & 6 deletions docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| l10n_fi_sale | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| l10n_fr | | |
| l10n_fr |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| l10n_fr_account | | |
| l10n_fr_account |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| l10n_fr_facturx_chorus_pro | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -706,7 +706,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mail_bot | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mail_bot_hr | | |
| mail_bot_hr |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mail_group | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -746,7 +746,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| microsoft_calendar | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| microsoft_outlook | | |
| microsoft_outlook |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mrp |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -992,7 +992,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_crm |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_edi_ubl | | |
| sale_edi_ubl |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_expense |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand All @@ -1014,7 +1014,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_mrp_margin | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_pdf_quote_builder | | |
| sale_pdf_quote_builder |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_product_matrix | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2026 Tecnativa - Pilar Vargas
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "l10n_fr", "19.0.2.1/noupdate_changes.xml")
19 changes: 19 additions & 0 deletions openupgrade_scripts/scripts/l10n_fr/19.0.2.1/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2026 Tecnativa - Pilar Vargas
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
# Migrate SIRET values to company_registry without overwriting existing data.
openupgrade.logged_query(
env.cr,
"""
UPDATE res_partner
SET company_registry = siret
WHERE siret IS NOT NULL
AND siret != ''
AND (company_registry IS NULL OR company_registry = '')
""",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---Models in module 'l10n_fr'---
# NOTHING TO DO

---Fields in module 'l10n_fr'---
l10n_fr / res.partner / siret (char) : DEL
# DONE: pre-migration script migrated siret values to existing company_registry when empty.

---XML records in module 'l10n_fr'---
NEW ir.ui.view: l10n_fr.view_partner_form_inherit_l10n_fr
DEL ir.ui.view: l10n_fr.res_partner_form_l10n_fr
res.country.group: l10n_fr.fr_and_mc (noupdate) (noupdate switched)
DEL res.country.group: l10n_fr.dom-tom [renamed to base module]
# NOTHING TO DO
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
---Models in module 'l10n_fr_account'---
# NOTHING TO DO

---Fields in module 'l10n_fr_account'---
# NOTHING TO DO

---XML records in module 'l10n_fr_account'---
NEW account.report.expression: l10n_fr_account.tax_report_08_base_balance_from_tags_purchase
NEW account.report.expression: l10n_fr_account.tax_report_09_base_balance_from_tags_purchase
NEW account.report.expression: l10n_fr_account.tax_report_10_base_balance_from_tags_purchase
NEW account.report.expression: l10n_fr_account.tax_report_11_base_balance_from_tags_purchase
NEW account.report.expression: l10n_fr_account.tax_report_9B_base_balance_from_tags_purchase
DEL ir.ui.view: l10n_fr_account.res_partner_form_l10n_fr
# NOTHING TO DO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---Models in module 'mail_bot_hr'---
# NOTHING TO DO

---Fields in module 'mail_bot_hr'---
# NOTHING TO DO

---XML records in module 'mail_bot_hr'---
DEL ir.ui.view: mail_bot_hr.res_users_view_form_profile
# NOTHING TO DO: removed inherited user profile view only
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---Models in module 'microsoft_outlook'---
# NOTHING TO DO

---Fields in module 'microsoft_outlook'---
microsoft_outlook / res.users / outgoing_mail_server_type (False): NEW selection_keys: ['default', 'gmail', 'outlook'], mode: modify
# NOTHING TO DO: module only adds the new 'outlook' selection value

---XML records in module 'microsoft_outlook'---
# NOTHING TO DO
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---Models in module 'sale_edi_ubl'---
obsolete model sale.edi.common [abstract]

# NOTHING TO DO

---Fields in module 'sale_edi_ubl'---

---XML records in module 'sale_edi_ubl'---
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---Models in module 'sale_pdf_quote_builder'---


---Fields in module 'sale_pdf_quote_builder'---
sale_pdf_quote_builder / quotation.document / add_by_default (boolean) : NEW hasdefault: default

# NOTHING TO DO

---XML records in module 'sale_pdf_quote_builder'---
Loading