Re: [tryton-dev] How to get Logged in User Id

2014-05-07 Thread Cédric Krier
On 04 May 19:25, appu rongala wrote: > Thank you Cedric, > > Transaction.user is always giving me 0 ( root user id). > it is not changing for deferent users. > Should id need to do something else? No, it is just that where you are looking the code is always run as root. PS: Please don't top-po

Re: [tryton-dev] How to get Logged in User Id

2014-05-07 Thread appu rongala
Thank you Cedric, Transaction.user is always giving me 0 ( root user id). it is not changing for deferent users. Should id need to do something else? Thanks & Regards --Appu On Saturday, April 26, 2014 8:47:37 AM UTC+2, Cédric Krier wrote: > > On 25 Apr 17:09, appu rongala wrote: > > > > Hi

Re: [tryton-dev] How to get Logged in User Id

2014-04-25 Thread Cédric Krier
On 25 Apr 17:09, appu rongala wrote: > > Hi Devs, > > I Need to get Logged User id in Tryton. http://doc.tryton.org/3.2/trytond/doc/ref/transaction.html?highlight=transaction#trytond.transaction.Transaction.user -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46

[tryton-dev] How to get Logged in User Id

2014-04-25 Thread appu rongala
Hi Devs, I Need to get Logged User id in Tryton. Could Please Help me with How do I fetch it in a __setup__() Method of a Particular Module? Thanks --Appu