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 stefan-tecnativa committed Jun 12, 2023
1 parent 3232d2e commit a42b3c6
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 a42b3c6

Please sign in to comment.