[FIX] point_of_sale, hr_org_chart: fix status button's font-size
The structure of the stat button which is not generated by a field has been changed to match the buttons which are generated by a field. task-3573807 Part-of: odoo/odoo#141163
This commit is contained in:
committed by
Pierre Paridans
parent
1d3d587edd
commit
2172001cc9
@@ -25,7 +25,11 @@
|
||||
<field name="inherit_id" ref="hr.view_employee_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="%(hr_org_chart.action_hr_employee_org_chart)d" icon="fa-users" string="Org Chart" type="action" context="{'hierarchy_res_id': id}" invisible="not parent_id and not child_ids"/>
|
||||
<button name="%(hr_org_chart.action_hr_employee_org_chart)d" icon="fa-users" type="action" context="{'hierarchy_res_id': id}" invisible="not parent_id and not child_ids">
|
||||
<div class="o_stat_info">
|
||||
<span class="o_stat_text">Org Chart</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
<div id="o_work_employee_main" position="after">
|
||||
<div id="o_employee_right" class="col-lg-4 px-0 ps-lg-5 pe-lg-0">
|
||||
|
||||
@@ -40,18 +40,23 @@
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-bars"
|
||||
string="Journal Items"
|
||||
groups="account.group_account_readonly"
|
||||
>
|
||||
<div class="o_stat_info">
|
||||
<span class="o_stat_text">Journal Items</span>
|
||||
</div>
|
||||
</button>
|
||||
<button
|
||||
name="show_cash_register"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-bars"
|
||||
string="Cash Register"
|
||||
invisible="not cash_control"
|
||||
groups="account.group_account_readonly"/>
|
||||
groups="account.group_account_readonly">
|
||||
<div class="o_stat_info">
|
||||
<span class="o_stat_text">Cash Register</span>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
<h1 class="oe_title">
|
||||
<field name="name" invisible="name == '/'" class="oe_inline"/>
|
||||
|
||||
Reference in New Issue
Block a user