Invalid key 'products' with sao generated URL
Steps to reproduce:
- Login to demo.tryton.org
- Go to menu: Products > Variants
- Copy the URL (will be this one: http://demo5.0.tryton.org/#demo5.0/model/product.product;name=%22Variants%22&views=%5B262%2C263%5D)
- Paste it in a new browser tab
- You'll get the following traceback:
Traceback (most recent call last):
File "/usr/local/lib/python35/dist-packages/trytond/wsgipy", line 73, in dispatch_request
return endpoint(request, **requestview_args)
File "/usr/local/lib/python35/dist-packages/trytond/protocols/dispatcherpy", line 46, in rpc
request, database_name, *requestrpc_params)
File "/usr/local/lib/python35/dist-packages/trytond/wsgipy", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/usr/local/lib/python35/dist-packages/trytond/protocols/wrapperspy", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/usr/local/lib/python35/dist-packages/trytond/protocols/dispatcherpy", line 176, in _dispatch
result = rpcresult(meth(*c_args, **c_kwargs))
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 340, in fields_view_get
result['field_childs'])
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 455, in _view_look_dom_arch
fields_width=fields_width)
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 620, in __view_look_dom
fields_width=fields_width, fields_attrs=fields_attrs)
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 620, in __view_look_dom
fields_width=fields_width, fields_attrs=fields_attrs)
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 620, in __view_look_dom
fields_width=fields_width, fields_attrs=fields_attrs)
File "/usr/local/lib/python35/dist-packages/trytond/model/modelviewpy", line 551, in __view_look_dom
field = cls_fields[fname]
KeyError: 'products'