Skip to content

Commit

Permalink
fieldservice_sale: remove required tpl in prd view
Browse files Browse the repository at this point in the history
Create a blank fsm from a SO is a valid use case.
And it make more sense when used with fsm_recurring_sale

Implement rfc OCA#735
  • Loading branch information
hparfr authored and EdgarRetes committed Nov 20, 2024
1 parent 2d2502b commit 3aff093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldservice_sale/views/product_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<field name="field_service_tracking" widget="radio" />
<field
name="fsm_order_template_id"
attrs="{'invisible': [('field_service_tracking', '=', 'no')], 'required': [('field_service_tracking', '!=', 'no')]}"
attrs="{'invisible': [('field_service_tracking', '=', 'no')]}"
/>
</xpath>
</field>
Expand Down

0 comments on commit 3aff093

Please sign in to comment.