[Web Responsive] Caused by: Error: "res.users"."is_redirect_home" field is undefined.

Open
#3,265 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, python
Domain
frontend

Research direction

Start by inspecting the web_responsive module and the user form view that references is_redirect_home; trace whether the field is defined by this module or an expected dependency. Reproduce the error by opening a user after creating an employee. Done means the Users view opens without the undefined-field error.

Written by the indexing model from the issue text.

Description

bug

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)
Error: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:938:101)
at App.handleError (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:1585:29)
at ComponentNode.initiateRender (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:1030:19)

Caused by: Error: "res.users"."is_redirect_home" field is undefined.
at Field.parseFieldNode (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:7768:231)
at https://odoo./web/assets/3a69cb0/web.assets_web.min.js:8656:865
at visit (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4300:51)
at visitChildren (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4299:171)
at visit (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4300:129)
at visitChildren (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4299:171)
at visit (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4300:129)
at visitChildren (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4299:171)
at visit (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4300:129)
at visitChildren (https://odoo./web/assets/3a69cb0/web.assets_web.min.js:4299:171)

Module

web_responsive

Describe the bug

Caused by: Error: "res.users"."is_redirect_home" field is undefined.

To Reproduce

Affected versions: 17.0.1.0

Steps to reproduce the behavior:

  1. Log as user manager
  2. Go to Employees and create a new employee
  3. Go to Settings > Users
  4. You can't open any user

Expected behavior
You should be able to open the users

Additional context

Dominant language
JavaScript
Stars
1.2k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OCA/web

All issues in OCA/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.