Skip to Content
Menu
This question has been flagged
1108 Views

I want to add a default group-by as part of my search view for gender but it doesn't seem to work after I've reset the Odoo server and upgraded the module. I get this bug when I open my module.

Error:


Traceback:
Error: selection.find(...) is undefined
_prepareDefaultLabel@http://localhost:8069/web/static/src/js/control_panel/control_panel_model_extension.js:1549:1
_createGroupOfFilters/_createGroupOfFilters@http://localhost:8069/web/static/src/js/control_panel/control_panel_model_extension.js:686:22
_createGroupOfFiltersFromArch/_createGroupOfFiltersFromArch@http://localhost:8069/web/static/src/js/control_panel/control_panel_model_extension.js:725:24
_addFilters@http://localhost:8069/web/static/src/js/control_panel/control_panel_model_extension.js:551:18
prepareState@http://localhost:8069/web/static/src/js/control_panel/control_panel_model_extension.js:221:22
importState@http://localhost:8069/web/static/src/js/model.js:81:22
importState@http://localhost:8069/web/static/src/js/model.js:360:27
Model@http://localhost:8069/web/static/src/js/model.js:256:18
ActionModel@http://localhost:8069/web/static/src/js/views/action_model.js:60:5
_createSearchModel@http://localhost:8069/web/static/src/js/views/abstract_view.js:291:29
init@http://localhost:8069/web/static/src/js/views/abstract_view.js:211:34
OdooClass.extend/init@http://localhost:8069/web/static/src/js/views/basic/basic_view.js:41:21
OdooClass.extend/init@http://localhost:8069/mail/static/src/js/basic_view.js:10:21
OdooClass.extend/Class.include/init@http://localhost:8069/web/static/src/js/views/list/list_view.js:41:21
OdooClass.extend/Class@http://localhost:8069/web/static/src/js/core/class.js:107:33
_createViewController@http://localhost:8069/web/static/src/js/chrome/action_manager_act_window.js:191:24


And I'm not sure what I'm doing wrong.

Here is the source-code: \https\:\/\/github\.com\/itpetarabia\/custom\-modules\/tree\/main\/hospital\\

Avatar
Discard
Related Posts Replies Views Activity
5
Nov 22
2029
0
Mar 22
1782
0
Feb 22
1386
0
Dec 21
903
0
Nov 21
876