[IMP] base_user_role: pre-commit stuff

This commit is contained in:
Bert Van Groenendael
2024-10-21 08:09:31 +02:00
parent 0fceb49311
commit 7acd964168
3 changed files with 9 additions and 10 deletions

View File

@@ -9,14 +9,14 @@
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_button_box" name="button_box">
<div class="oe_button_box" name="button_box">
<button
name="show_model_access_ids"
type="object"
class="oe_stat_button"
icon="fa-book"
>
<field
<field
name="model_access_count"
widget="statinfo"
string="Access Rights"
@@ -28,7 +28,7 @@
class="oe_stat_button"
icon="fa-server"
>
<field
<field
name="rules_count"
widget="statinfo"
string="Record Rules"

View File

@@ -24,7 +24,7 @@
</field>
</page>
</xpath>
<xpath expr="//page[@name='access_rights']/group" position="before">
<xpath expr="//page[@name='access_rights']/group" position="before">
<field name="show_alert" invisible="1" />
<div
class="alert alert-info text-center o_form_header"
@@ -42,7 +42,6 @@
<a class="close" data-bs-dismiss="alert" href="#">x</a>
</div>
</xpath>
</field>
</record>

View File

@@ -20,11 +20,11 @@
<footer>
<button
name="create_from_user"
string="Create"
type="object"
class="oe_highlight"
/>
name="create_from_user"
string="Create"
type="object"
class="oe_highlight"
/>
or
<button string="Close" class="oe_link" special="cancel" />
</footer>