|
|
@ -3,7 +3,6 @@ |
|
|
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). |
|
|
|
--> |
|
|
|
<odoo> |
|
|
|
|
|
|
|
<record id="view_res_users_role_form" model="ir.ui.view"> |
|
|
|
<field name="name">res.users.role.form</field> |
|
|
|
<field name="model">res.users.role</field> |
|
|
@ -20,12 +19,18 @@ |
|
|
|
</page> |
|
|
|
<page string="Users"> |
|
|
|
<field name="line_ids" nolabel="1"> |
|
|
|
<tree editable="bottom" decoration-muted="not is_enabled"> |
|
|
|
<tree |
|
|
|
editable="bottom" |
|
|
|
decoration-muted="not is_enabled" |
|
|
|
> |
|
|
|
<field name="user_id" /> |
|
|
|
<field name="date_from" /> |
|
|
|
<field name="date_to" /> |
|
|
|
<field name="is_enabled" /> |
|
|
|
<field name="company_id" groups="base.group_multi_company"/> |
|
|
|
<field |
|
|
|
name="company_id" |
|
|
|
groups="base.group_multi_company" |
|
|
|
/> |
|
|
|
</tree> |
|
|
|
</field> |
|
|
|
</page> |
|
|
@ -34,7 +39,6 @@ |
|
|
|
</form> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="view_res_users_role_tree" model="ir.ui.view"> |
|
|
|
<field name="name">res.users.role.tree</field> |
|
|
|
<field name="model">res.users.role</field> |
|
|
@ -45,7 +49,6 @@ |
|
|
|
</tree> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="view_res_users_role_search" model="ir.ui.view"> |
|
|
|
<field name="name">res.users.role.search</field> |
|
|
|
<field name="model">res.users.role</field> |
|
|
@ -57,16 +60,15 @@ |
|
|
|
</search> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_res_users_role_tree"> |
|
|
|
<field name="name">Roles</field> |
|
|
|
<field name="type">ir.actions.act_window</field> |
|
|
|
<field name="res_model">res.users.role</field> |
|
|
|
<field name="view_id" ref="view_res_users_role_tree" /> |
|
|
|
</record> |
|
|
|
|
|
|
|
<menuitem id="menu_action_res_users_role_tree" |
|
|
|
<menuitem |
|
|
|
id="menu_action_res_users_role_tree" |
|
|
|
parent="base.menu_users" |
|
|
|
action="action_res_users_role_tree"/> |
|
|
|
|
|
|
|
action="action_res_users_role_tree" |
|
|
|
/> |
|
|
|
</odoo> |