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

View File

@@ -24,7 +24,7 @@
</field> </field>
</page> </page>
</xpath> </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" /> <field name="show_alert" invisible="1" />
<div <div
class="alert alert-info text-center o_form_header" class="alert alert-info text-center o_form_header"
@@ -42,7 +42,6 @@
<a class="close" data-bs-dismiss="alert" href="#">x</a> <a class="close" data-bs-dismiss="alert" href="#">x</a>
</div> </div>
</xpath> </xpath>
</field> </field>
</record> </record>

View File

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