first commit
This commit is contained in:
16
modules/user_role/view/role_form.xml
Normal file
16
modules/user_role/view/role_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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"/>
|
||||
|
||||
<notebook colspan="4">
|
||||
<page string="Members" col="2" id="members">
|
||||
<field name="users" colspan="2"/>
|
||||
</page>
|
||||
<page string="Access Permissions" col="1" id="permissions">
|
||||
<field name="groups"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
6
modules/user_role/view/role_list.xml
Normal file
6
modules/user_role/view/role_list.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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"/>
|
||||
</tree>
|
||||
8
modules/user_role/view/user_form.xml
Normal file
8
modules/user_role/view/user_form.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='groups']" position="before">
|
||||
<field name="roles"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/user_role/view/user_role_form.xml
Normal file
13
modules/user_role/view/user_role_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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="user"/>
|
||||
<field name="user" colspan="3"/>
|
||||
<label name="role"/>
|
||||
<field name="role" colspan="3"/>
|
||||
<label name="from_date"/>
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</form>
|
||||
11
modules/user_role/view/user_role_list.xml
Normal file
11
modules/user_role/view/user_role_list.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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="user" expand="1"/>
|
||||
<field name="role" expand="1"/>
|
||||
<field name="from_date" widget="date"/>
|
||||
<field name="from_date" widget="time" string="Time"/>
|
||||
<field name="to_date" widget="date"/>
|
||||
<field name="to_date" widget="time" string="Time"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user