On Monday, April 21, 2014 11:49:25 AM UTC-5, Albert Cervera Areny wrote: > > 2014-04-21 18:47 GMT+02:00 Fabyc <[email protected] <javascript:>>: > > 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 > >> > > > > I applied the patches [1] (you mention them in the link of fixed bug) to > all > > the modules I have in my test database and the problem persists. > > > > [1] http://codereview.tryton.org/3261002 > > Did you --update all? >
Yes, I did it. First, I updated the modules one by one. Then I updated all [2] [2] trytond -u all > > > > > > >> -- > >> Cédric Krier - B2CK SPRL > >> Email/Jabber: [email protected] > >> Tel: +32 472 54 46 59 > >> Website: http://www.b2ck.com/ > > > > -- > Albert Cervera i Areny > Tel. 93 553 18 03 > @albertnan > www.NaN-tic.com >
