Skip to content

Commit 3e08916

Browse files
committed
[FIX] spreadsheet_oca: Filters don't take care about field type
1 parent 90ea614 commit 3e08916

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spreadsheet_oca/static/src/spreadsheet/bundle/filter.esm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ export class EditFilterPanel extends Component {
181181
}
182182
onFieldMatchUpdate(object, name) {
183183
this.state.objects[object.id].fieldMatch.chain = name;
184+
this.state.objects[object.id].fieldMatch.type = object.fields[name]?.type;
184185
}
185186
toggleDateDefaultValue(ev) {
186187
this.state.defaultValue = ev.target.checked ? "this_month" : undefined;

0 commit comments

Comments
 (0)