Hi.

I'm testing "Stock Supply" module.

The cron executes the Order Points I have and it creates the Purchase 
Requests with no problem. When I'm in "Purchase Requests" window, 
I select any record and I click on "Purchases" (into the "Relate" icon), 
I get this error:

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 169, in dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelsql.py", line 940, in search
    cursor.execute(*select)
  File "/trytond/backend/postgresql/database.py", line 309, in execute
    return self.cursor.execute(sql, params)
DataError: invalid input syntax for integer: ""
LINE 1: ...OM "purchase_purchase" AS "a" WHERE ((("a"."id" = '')) AND (...
                                                             ^


I get the error with all of the records I have in "Purchase Requests".


- Tryton Server: 3.0.4
- Tryton Client: 3.0.3

Modules:
- Stock: 3.0.1
- Stock Supply: 3.0.1


Thanks

--
Best regards

Reply via email to