Skip to content

Commit

Permalink
[FIX] clickable stages
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Nov 26, 2024
1 parent f3cddbb commit dff44ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions fieldservice_stage_server_action/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"data": [
"data/ir_server_action.xml",
"data/fsm_stage.xml",
"data/fsm_order.xml",
"data/base_automation.xml",
"views/fsm_stage.xml",
],
Expand Down
12 changes: 12 additions & 0 deletions fieldservice_stage_server_action/views/fsm_order.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<odoo>
<record id="fsm_order_form_view" model="ir.ui.view">
<field name="name">fsm.order.form.view.stage</field>
<field name="model">fsm.order</field>
<field name="inherit_id" ref="fieldservice.fsm_order_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='stage_id']" position="attributes">
<attribute name="options">{'clickable':True, 'fold_field': 'fold'}</attribute>
</xpath>
</field>
</record>
</odoo>

0 comments on commit dff44ee

Please sign in to comment.