Go to Purchase>>Purchase Requisitions
Click + to create
Select Supply Date: today
On Lines, click + to create line.
Product: qwert // do not search and just enter
Supplier: // do not search and leave it blank
Unit: Unit
Quantity: 10
Enter Unit Price: 1
Click OK
Blank line will display on Line
Save whole record.
Go to Purchase>>Purchase Request
Traceback (most recent call last):
File "/site-packages/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/site-packages/trytond/protocols/dispatcher.py", line 46, in rpc
request, database_name, *request.rpc_params)
File "/site-packages/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/site-packages/trytond/protocols/wrappers.py", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/site-packages/trytond/protocols/dispatcher.py", line 176, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/site-packages/trytond/model/modelsql.py", line 826, in read
getter_results = field.get(ids, cls, field_list, values=result)
File "/site-packages/trytond/model/fields/function.py", line 103, in get
return dict((name, call(name)) for name in names)
File "/site-packages/trytond/model/fields/function.py", line 103, in <genexpr>
return dict((name, call(name)) for name in names)
File "/site-packages/trytond/model/fields/function.py", line 98, in call
return dict((r.id, method(r, name)) for r in records)
File "/site-packages/trytond/model/fields/function.py", line 98, in <genexpr>
return dict((r.id, method(r, name)) for r in records)
File "/site-packages/trytond/modules/purchase_request/purchase_request.py", line 163, in get_rec_name
self.description.splitlines()[0])
IndexError: list index out of range