On Monday, April 21, 2014 1:33:13 AM UTC-5, Cédric Krier wrote:
>
> 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<https://www.google.com/url?q=https%3A%2F%2Fbugs.tryton.org%2Fissue2474&sa=D&sntz=1&usg=AFQjCNFNDjvqkVkD1_nx6tHRJ6DontDRIA>
>  
>

Is it needed to apply these patches to version 3.2 too?
 

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

Reply via email to