Hi, everyone.
Since the new update to trytond 7.6, I am getting the error message bellow, when trying to access list view of an specific model:
Traceback (most recent call last):
File "/site-packages/trytond/wsgi.py", line 97, in dispatch_request
return endpoint(request, **request.view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/site-packages/trytond/protocols/dispatcher.py", line 44, in rpc
return methods.get(request.rpc_method, _dispatch)(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/site-packages/trytond/wsgi.py", line 77, in wrapper
return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/site-packages/trytond/protocols/wrappers.py", line 206, in wrapper
result = func(request, pool, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/site-packages/trytond/protocols/dispatcher.py", line 216, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/site-packages/trytond/ir/ui/view.py", line 554, in set_width
tree_width.width = fields.pop(tree_width.field)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'quantity_year'
This list view used to have this code:
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree editable="1">
<field name="production_entity" width="500" widget="char"/>
<field name="production_scope" optional="1"/>
<field name="product" width="300"/>
<field name="quantity_year" width="150"/>
<field name="active"/>
<field name="product_uom" width="150"/>
<field name="organic_index" width="150"/>
<field name="product_area" width="150"/>
<field name="management_scheme" width="400" widget="char"/>
<field name="last_modified" optional="1"/>
</tree>
Upon this error, I tried removing the width attribute, but it doesnt solve the problem.
Does anyone know what happening?