[FIX] base: missing form view
Before this PR when a demo data error occurred (and the errors is too big). You could click on the error and a form view appeared. But if the error was too big, the text for module_id and wizard_id were impacted and were way too small to be readable (like a missing colspan). By adding a form view form this specific model it seems to solve the issues. closes odoo/odoo#122031 Task-id: 3252698 X-original-commit: a7a6887a01491a42c610ee5019cb6d5feba25f7f Signed-off-by: John Laterre (jol) <jol@odoo.com> Signed-off-by: Maximilien La Barre (malb) <malb@odoo.com>
This commit is contained in:
@@ -42,6 +42,26 @@ action = {
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="demo_wizard_form_view">
|
||||
<field name="name">Demo Failure Form</field>
|
||||
<field name="model">ir.demo_failure</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="module_id"/>
|
||||
<field name="wizard_id"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="error"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.todo" id="demo_failure_todo">
|
||||
<field name="name">Demo Failure Notification</field>
|
||||
<field name="sequence">1</field>
|
||||
|
||||
Reference in New Issue
Block a user