twanda / vertical-agriculture

Verticalization of Odoo for farms and agroindustries
GNU Affero General Public License v3.0
0 stars 1 forks source link

Life Version: Error message when attempting to open Agriculture Module #46

Closed dastcaboz closed 2 years ago

dastcaboz commented 2 years ago
211018_agriculture-liver-version

Error: Odoo Server Error

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/api.py", line 1049, in get value = self._data[key][field][record._ids[0]] KeyError: 424

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1065, in get value = record.env.cache.get(record, self) File "/usr/lib/python3/dist-packages/odoo/api.py", line 1051, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: ('ir.actions.act_window(424,).search_view', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise raise value File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch result = self._call_function(self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, *kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper return f(dbname, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in call return self.method(*args, *kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap response = f(args, kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1269, in load action = request.env[action_type].browse([action_id]).read() File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 202, in read result = super(IrActionsActWindow, self).read(fields, load=load) File "/usr/lib/python3/dist-packages/odoo/models.py", line 2835, in read vals[name] = convert(record[name], record, use_name_get) File "/usr/lib/python3/dist-packages/odoo/models.py", line 5167, in getitem return self._fields[key].get(self, type(self)) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1069, in get self.determine_value(record) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1182, in determine_value self.compute_value(recs) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1136, in compute_value self._compute_value(records) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1127, in _compute_value getattr(records, self.compute)() File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 162, in _compute_search_view fvg = self.env[act.res_model].fields_view_get(act.search_view_id.id, 'search') File "/usr/lib/python3/dist-packages/odoo/api.py", line 831, in getitem return self.registry[model_name]._browse((), self) File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 177, in getitem return self.models[model_name] KeyError: 'agri.plantation'

treviser commented 2 years ago

@candidroot Please check at caboz2.twanda-hosting.ch

Duplicate of https://github.com/twanda/vertical-agriculture/issues/45