mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_user_role show rules and access
This commit is contained in:
@@ -9,6 +9,32 @@
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button
|
||||
name="show_model_access_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-book"
|
||||
>
|
||||
<field
|
||||
name="model_access_count"
|
||||
widget="statinfo"
|
||||
string="Access Rights"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
name="show_rule_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-server"
|
||||
>
|
||||
<field
|
||||
name="rules_count"
|
||||
widget="statinfo"
|
||||
string="Record Rules"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="group_id" required="0" readonly="1" />
|
||||
|
||||
Reference in New Issue
Block a user