[IMP] base_user_role show rules and access

This commit is contained in:
Kevin.roche
2022-06-27 17:16:43 +02:00
committed by Raf Ven
parent e645e12f37
commit 0219bfd373
2 changed files with 62 additions and 0 deletions

View File

@@ -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" />