error when opening price list lines in 7.4
Error appears in 7.4 when push button "Open Lines" in Products-Price Lists: ``` ERROR:tryton.common.common: File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/view/form.py", line 608, in button_clicked self.screen.button(widget.attrs) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/screen/screen.py", line 1255, in button self._button_class(button) ~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/screen/screen.py", line 1287, in _button_class Action.execute(action, { ~~~~~~~~~~~~~~^^^^^^^^^^ 'model': self.model_name, ^^^^^^^^^^^^^^^^^^^^^^^^^ 'id': self.current_record.id, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 'ids': ids, ^^^^^^^^^^^ }, context=self.context, keyword=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/action/main.py", line 54, in execute Action._exec_action(action, data, context=context) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/action/main.py", line 139, in _exec_action Window.create(res_model, **params) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/window.py", line 32, in create win = Form(model, **attributes) File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/form.py", line 54, in __init__ self.screen = Screen(self.model, breadcrumb=[self.name], **attributes) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/screen/screen.py", line 88, in __init__ self.context_screen.new() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/screen/screen.py", line 670, in new record = group.new(default, defaults=defaults) File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/model/group.py", line 387, in new record.default_get(defaults=defaults) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/mindauga/Containers/tryton_test_313_venv/lib64/python3.13/site-packages/tryton/gui/window/view_form/model/record.py", line 429, in default_get return vals ^^^^ UnboundLocalError: cannot access local variable 'vals' where it is not associated with a value ```
issue