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

Error when clicking In-kind Entitlements in QA Farmer Registry #433

Open
adriancris opened this issue Jun 3, 2024 · 2 comments
Open

Error when clicking In-kind Entitlements in QA Farmer Registry #433

adriancris opened this issue Jun 3, 2024 · 2 comments
Assignees

Comments

@adriancris
Copy link

adriancris commented Jun 3, 2024

Description:
Error when clicking in-kind entitlements in a program

Actual Behavior:
Error when clicking in-kind entitlements

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 1770, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/http.py", line 1797, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/http.py", line 2001, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/odoo/http.py", line 725, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/dataset.py", line 24, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 464, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/opt/odoo/odoo/api.py", line 435, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/addons/web/models/models.py", line 47, in web_search_read
values_records = records.web_read(specification)
File "/opt/odoo/addons/web/models/models.py", line 86, in web_read
values_list: List[Dict] = self.read(fields_to_read, load=None)
File "/opt/odoo/odoo/models.py", line 3540, in read
return self._read_format(fnames=fields, load=load)
File "/opt/odoo/odoo/models.py", line 3751, in _read_format
vals[name] = convert(record[name], record, use_display_name)
File "/opt/odoo/odoo/fields.py", line 3110, in convert_to_read
return value.id
AttributeError: '_unknown' object has no attribute 'id'

The above server error caused the following client error:
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (https://qa-farmer.newlogic.net/web/assets/debug/web.assets_web.js:9163:35)
at App.handleError (https://qa-farmer.newlogic.net/web/assets/debug/web.assets_web.js:13354:20)
at ComponentNode.initiateRender (https://qa-farmer.newlogic.net/web/assets/debug/web.assets_web.js:9959:26)

Caused by: RPC_ERROR:https://qa-farmer.newlogic.net/web/assets/debug/web.assets_web.js:27839:19)
at XMLHttpRequest. (https://qa-farmer.newlogic.net/web/assets/debug/web.assets_web.js:27887:27)

Expected Behavior:
User should be able to click and navigate to the Entitlement table inside the program

Instance:
Farmer Registry QA Instance

Screenrecording:
https://github.com/OpenSPP/openspp-modules/assets/138551361/bf0b690a-95ec-438c-a746-0c3c841a44e6

@adriancris adriancris changed the title Error when clicking In-kind Entitlements Error when clicking In-kind Entitlements in QA Farmer Registry Jun 5, 2024
@reichie020212
Copy link
Member

Upon checking, this error has been fixed by this commit dedb9f3

@anthonymarkQA
Copy link

FIndings QA Passed

Group:
default elligiblity + default
image

Group
Manual + cash
image

Individual:
tag based + in kind
image

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

No branches or pull requests

3 participants