Skip to content

Commit

Permalink
Update fieldservice_account_analytic/views/fsm_route.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
max3903 authored Nov 30, 2024
1 parent a7a07fc commit f31e162
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions fieldservice_account_analytic/views/fsm_route.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,9 @@
<field name="model">fsm.route</field>
<field name="inherit_id" ref="fieldservice_route.fsm_route_form" />
<field name="arch" type="xml">
<xpath expr="//div[hasclass('oe_title')]" position="before">
<div class="oe_button_box" name="button_box">
<button
name="action_view_analytic_account"
type="object"
class="oe_stat_button"
icon="fa-bar-chart"
invisible="not analytic_account_id"
groups="analytic.group_analytic_accounting"
>
<field
name="analytic_account_id"
widget="statinfo"
string="Analytic Account"
/>
</button>
</div>
</xpath>
<field name="day_ids" position="after">
<field name="analytic_account_id" />
</field>
</field>
</record>
</odoo>

0 comments on commit f31e162

Please sign in to comment.