Tryton - Issues

 

Issue7988

Title Reloading product.product URL crash
Priority bug Status unread
Superseder Nosy List ced, pokoli
Type crash Components sao
Assigned To Keywords
Reviews

Created on 2019-01-11.20:07:19 by ced, last changed by pokoli.

Messages
msg45925 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-01-11.20:07:18
When reloading the URL of product.product with an ID, this exception is raised:

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 73, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 46, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 44, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 122, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelview.py", line 345, in fields_view_get
    result['field_childs'])
  File "/trytond/model/modelview.py", line 460, in _view_look_dom_arch
    fields_width=fields_width)
  File "/trytond/model/modelview.py", line 625, in __view_look_dom
    fields_width=fields_width, fields_attrs=fields_attrs)
  File "/trytond/model/modelview.py", line 625, in __view_look_dom
    fields_width=fields_width, fields_attrs=fields_attrs)
  File "/trytond/model/modelview.py", line 625, in __view_look_dom
    fields_width=fields_width, fields_attrs=fields_attrs)
  File "/trytond/model/modelview.py", line 556, in __view_look_dom
    field = cls._fields[fname]
KeyError: 'products'
History
Date User Action Args
2019-01-14 11:15:20pokolisetnosy: + pokoli
2019-01-11 20:07:19cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)