Simplify views for non-admin users
issue8776 review252541002
This commit is contained in:
@@ -50,9 +50,16 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<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>
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="name">attribute_list</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="attribute_view_form">
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<!-- 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="name"/>
|
||||
<field name="name"/>
|
||||
<label name="string"/>
|
||||
<field name="string"/>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="type_"/>
|
||||
<field name="type_"/>
|
||||
<label name="digits"/>
|
||||
|
||||
@@ -2,7 +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. -->
|
||||
<tree>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="string" expand="1"/>
|
||||
<field name="type_"/>
|
||||
<field name="name" tree_invisible="1"/>
|
||||
</tree>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<tree>
|
||||
<field name="string" expand="1"/>
|
||||
</tree>
|
||||
@@ -4,6 +4,5 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user