[12.0] web_widget_open_tab: Allow to open tab on dashboards or trees inside other forms

This commit is contained in:
Enric Tobella
2020-02-21 10:08:36 +01:00
committed by Raf Ven
parent 5aee999360
commit 39b18fcd9c
5 changed files with 31 additions and 24 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_users_tree" model="ir.ui.view">
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_tree" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="id" widget="open_tab"/>
</field>
</field>
</record>
</odoo>