Tryton - Issues

 

Issue9072

Title AttributeError: 'NoneType' object has no attribute 'party_full_name'
Priority bug Status unread
Superseder Nosy List yangoon
Type crash Components stock_package_shipping_ups
Assigned To Keywords easy
Reviews

Created on 2020-02-18.17:06:06 by yangoon, last changed by pokoli.

Messages
msg55460 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2020-02-18.17:06:05
https://demo5.4.tryton.org:8000/

Create Shipping for Packages:


Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 108, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
    request, database_name, *requestrpc_params)
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 76, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 186, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 285, in execute
    return wizard_execute(state_name)
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 316, in _execute
    result = self_execute(transition())
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_package_shipping_ups/stockpy", line 142, in transition_start
    shipment_request = selfget_request(shipment, packages, credential)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_package_shipping_ups/stockpy", line 306, in get_request
    warehouse_address)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_package_shipping_ups/stockpy", line 234, in get_shipping_party
    'Name': addressparty_full_name[:35],
AttributeError: 'NoneType' object has no attribute 'party_full_name'
History
Date User Action Args
2020-03-24 10:05:32pokolisetkeyword: + easy
2020-02-18 17:06:26yangoonsetcomponent: + stock_package_shipping_ups
2020-02-18 17:06:06yangooncreate

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