Message 63867

Message id


Tryton Version 5.9

To reproduce: On an new Tryton session, create a new sale, click on the 'payment' button, and in the new open view click on '+' to create a new payment:

Traceback (most recent call last):
  File "/trytond/model/", line 290, in __getattr__
    return self._values[name]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/trytond/", line 111, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/", line 48, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/", line 78, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/", line 186, in _dispatch
    result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/model/", line 88, in wrapper
    result = func(self, *args, **kwargs)
  File "/trytond/model/fields/", line 118, in wrapper
    return func(self, *args, **kwargs)
  File "/trytond/modules/sale_payment/", line 47, in on_change_origin = sale.invoice_party or
  File "/trytond/model/", line 1443, in __getattr__
    return super(ModelStorage, self).__getattr__(name)
  File "/trytond/model/", line 293, in __getattr__
    % (self.__name__, name, self._values))
AttributeError: '' Model has no attribute 'invoice_party': None

Fault: '' Model has no attribute 'invoice_party': None
Date User Action Args
2021-01-13 12:38:542cadzsetmessageid: <>
2021-01-13 12:38:542cadzlinkissue9992 messages
2021-01-13 12:38:542cadzcreate

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