Skip to content

Commit

Permalink
[FIX] tms: fix tms order view
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Jul 28, 2024
1 parent ec11b1b commit 295f824
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tms/views/tms_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<field name="route" />
<field
name="route_id"
attrs="{'invisible': [('route', '!=', False)], 'required': [('route', '=', True)] }"
attrs="{'invisible': [('route', '=', False)], 'required': [('route', '=', True)] }"
/>
<field
name="origin_id"
Expand All @@ -149,10 +149,6 @@
attrs="{'invisible': [('route', '!=', False)], 'required': [('route', '=', False)] }"
/>
</group>
<group groups="!tms.group_tms_route">
<field name="origin_id" required="True" />
<field name="destination_id" required="True" />
</group>
</group>
<group string="Description" name="description_grp">
<field
Expand Down

0 comments on commit 295f824

Please sign in to comment.