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:
@@ -9,7 +9,7 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//form" position="inside">
|
<xpath expr="//form" position="inside">
|
||||||
<app class="app_settings_block" data-string="Construction" string="Construction"
|
<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>
|
<h2>Sequences</h2>
|
||||||
<setting class="row mt16 o_settings_container">
|
<setting class="row mt16 o_settings_container">
|
||||||
<div class="col-lg-12 o_setting_box">
|
<div class="col-lg-12 o_setting_box">
|
||||||
|
|||||||
Reference in New Issue
Block a user