fix(tk_construction_management): add name attribute to <app> element

Odoo 18 SettingsFormCompiler.compileApp reads el.getAttribute("name")
and passes it to toStringExpression(). Without the name attribute the
result is null -> null.replaceAll(...) -> TypeError -> Owl lifecycle
crash, Settings page renders white. Old data-key="..." attribute is
no longer recognized.

Add name="tk_construction_management" alongside data-key for
backward compat.
This commit is contained in:
OdooSky v3
2026-05-09 02:00:53 +02:00
parent 63c62699f5
commit bd01d44be5

View File

@@ -9,7 +9,7 @@
<field name="arch" type="xml">
<xpath expr="//form" position="inside">
<app class="app_settings_block" data-string="Construction" string="Construction"
data-key="tk_construction_management">
data-key="tk_construction_management" name="tk_construction_management">
<h2>Sequences</h2>
<setting class="row mt16 o_settings_container">
<div class="col-lg-12 o_setting_box">