Skip to content
Snippets Groups Projects
Commit a7a6887a authored by Maximilien (malb)'s avatar Maximilien (malb)
Browse files

[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#117002

Task-id: 3252698
Signed-off-by: default avatarJohn Laterre (jol) <jol@odoo.com>
parent 2eb1b477
Branches
Tags
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment