Hello,

I have been setting up the sales module. I have a problem while trying to 
enter lines. when i try to choose a product for the sale line it gives me 
the following error:

'NoneType' object has no attribute 'category'

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 174, in dispatch
    result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/modules/sale/sale.py", line 1146, in on_change_product
    category = self.product.sale_uom.category
AttributeError: 'NoneType' object has no attribute 'category'

Kind Regards and Thanks in advance!!!

Oscar

Reply via email to