Skip to content
Snippets Groups Projects
Commit f85ed776 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Simplify views for non-admin users

issue8776
review252541002
parent d935d8c9
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,12 @@
<field name="perm_delete" eval="True"/>
</record>
<record model="ir.ui.view" id="attribute_view_list_simple">
<field name="model">product.attribute</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="name">attribute_list_simple</field>
</record>
<record model="ir.ui.view" id="attribute_view_list">
<field name="model">product.attribute</field>
<field name="type">tree</field>
......@@ -53,6 +59,7 @@
<record model="ir.ui.view" id="attribute_view_list">
<field name="model">product.attribute</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="name">attribute_list</field>
</record>
<record model="ir.ui.view" id="attribute_view_form">
......
......@@ -2,5 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form>
<label name="string"/>
<field name="string"/>
<label name="name"/>
<field name="name"/>
......@@ -5,7 +7,5 @@
<label name="name"/>
<field name="name"/>
<label name="string"/>
<field name="string"/>
<label name="type_"/>
<field name="type_"/>
<label name="digits"/>
......
......@@ -2,6 +2,5 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name" expand="1"/>
<field name="string" expand="1"/>
<field name="type_"/>
......@@ -6,3 +5,4 @@
<field name="string" expand="1"/>
<field name="type_"/>
<field name="name" tree_invisible="1"/>
</tree>
<?xml version="1.0"?>
<tree>
<field name="string" expand="1"/>
</tree>
......@@ -4,6 +4,5 @@
<form>
<label name="name"/>
<field name="name"/>
<newline/>
<field name="attributes" colspan="4"/>
<field name="attributes" colspan="4" view_ids="product_attribute.attribute_view_list"/>
</form>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment