Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] It is not possible to search by name in fieldservice #1269

Open
DorianMAG opened this issue Nov 27, 2024 · 1 comment
Open

[17.0] It is not possible to search by name in fieldservice #1269

DorianMAG opened this issue Nov 27, 2024 · 1 comment
Labels

Comments

@DorianMAG
Copy link

The method "str" in the search view XML is not recognized.

Module

fieldservice

Describe the bug

During a search by name in fieldservice, an OWL error is returned, "str" is not recognized.

To Reproduce

Affected versions: 17.0

Steps to reproduce the behavior:

  1. In fieldservice
  2. Perform a search by name
  3. Observe the error result of the search by name

Expected behavior
Result of the search by name

Error Odoo:

UncaughtPromiseError > OwlError
Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:684:1
handleError@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:916:101
handleError@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:1551:29
_render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:941:19
render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:939:6
render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:1016:56

Caused by: EvaluationError: Name 'str' is not defined
EvaluationError@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3065:261
_innerEvaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3214:215
_evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3227:49
_innerEvaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3218:32
_evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3227:49
evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3229:8
applyBinaryOp@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3190:56
_innerEvaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3215:102
_evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3227:49
_innerEvaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3216:33
_evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3227:49
_innerEvaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3216:33
_evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3227:49
evaluate@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:3229:8
toList@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:2131:24
_getFieldDomain/domains<@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:6968:179
_getFieldDomain@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:6968:76
_getSearchItemDomain@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:7003:194
_getFacets@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:6956:216
get facets@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:6838:153
template@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js line 1503 > Function:16:66
template@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js line 1503 > Function:21:25
_render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:940:96
render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:939:6
render@http://localhost:8069/web/assets/40d62c9/web.assets_web.min.js:1016:56

@DorianMAG DorianMAG added the bug label Nov 27, 2024
@DorianMAG
Copy link
Author

Hi,
I have create a pull request for resolve this bug.
#1270
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant