On 20 Apr 19:59, Fabyc wrote:
> 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".

Fixed by https://bugs.tryton.org/issue2474

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpTcoAu3oFkq.pgp
Description: PGP signature

Reply via email to