Message 73916

Author
mrichez
Date
2022-02-07.13:55:51
Message id
73916

Content

Got a problem with gtk client 6.3 in Customer Shipment. (not tested with other clients) * I've defined 2 types of packages : Pallet, Box * My customer shipment is in state "Picked", so i can define packages used for the shipment * I click on the "+" to add a new package. I select "Pallet". * Then i select the children tab and click on "+" to add a children package. * I click on "Delete" button.

Got those errors:

  File "/home/mrichez/Workspace/tryton/issues/issue_11214_volume_dimensions_package/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py", line 59, in wrapper
    return func(self, *args, **kwargs)
  File "/home/mrichez/Workspace/tryton/issues/issue_11214_volume_dimensions_package/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py", line 100, in wrapper
    record = store.get_value(iter_, 0)

TypeError: unknown type (null)
 File "/usr/lib/python3.10/site-packages/pygtkcompat/generictreemodel.py", line 65, in wrapped_func
    return func(*args, **kargs)
  File "/usr/lib/python3.10/site-packages/pygtkcompat/generictreemodel.py", line 253, in do_get_path
    path = self.on_get_path(self.get_user_data(iter))
  File "/usr/lib/python3.10/site-packages/pygtkcompat/generictreemodel.py", line 161, in get_user_data
    return _get_user_data_as_pyobject(iter)
  File "/usr/lib/python3.10/site-packages/pygtkcompat/generictreemodel.py", line 51, in _get_user_data_as_pyobject
    return ctypes.cast(citer.contents.user_data, ctypes.py_object).value

ValueError: PyObject is NULL
History
Date User Action Args
2022-02-07 13:55:51mrichezsetrecipients: + tbruyere
2022-02-07 13:55:51mrichezsetmessageid: <1644238551.2768955.SMBZCIQPJMZ4I7U5.issue11223@tryton.org>
2022-02-07 13:55:51mrichezlinkissue11223 messages
2022-02-07 13:55:51mrichezcreate

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