Tryton - Issues



Title Error create sale line
Priority bug Status closed
Superseder Unable to create invoice with sao
View: 8280
Nosy List angel, ced
Type crash Components sao
Assigned To Keywords

Created on 2019-04-09.16:46:30 by angel, last changed by ced.

msg49170 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-04-24.00:13:14
Duplicate issue8280 (which came after but was first fixed).
msg48779 (view) Author: [hidden] (angel) Date: 2019-04-09.16:46:29
Traceback (most recent call last):
  File "/trytond/model/", line 254, in __getattr__
    return self._values[name]
KeyError: 'on_change_with_0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/trytond/", line 104, 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 72, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/", line 202, in _dispatch
    result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/model/", line 728, in on_change_with
    changes[fieldname] = getattr(self, method_name)()
  File "/trytond/model/", line 1369, in __getattr__
    return super(ModelStorage, self).__getattr__(name)
  File "/trytond/model/", line 257, in __getattr__
    % (self.__name__, name, self._values))
AttributeError: 'sale.line' Model has no attribute 'on_change_with_0': {'quantity': None, 'sale': Pool().get('')(2), 'type': 'line', 'unit': None, 'unit_price': None, 'product': None}
Date User Action Args
2019-04-24 00:13:16cedsetstatus: unread -> closed
superseder: + Unable to create invoice with sao
messages: + msg49170
nosy: + ced
2019-04-09 16:46:30angelcreate

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