Skip to content

Commit

Permalink
[FIX] fieldservice: Search by name.
Browse files Browse the repository at this point in the history
Remove str method in xml search filter_domain
  • Loading branch information
DorianMAG committed Nov 27, 2024
1 parent 78d47ef commit cb36421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldservice/views/fsm_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
<separator />
<field
name="name"
filter_domain="['|', ('name', 'ilike', self), ('name', '=like', str(self) + '%')]"
filter_domain="['|', ('name', 'ilike', self), ('name', '=like', self + '%')]"
string="FSM Order Name"
/>
<field name="location_id" />
Expand Down

0 comments on commit cb36421

Please sign in to comment.