On 2018-07-28 06:50, Jon Levy wrote: > Is there a way to see a user's IP address (e.g., in the Transaction > context)? This is for a time clock functionality, and would be used > to know whether the user is at the office, or somewhere else.
We added the werkzeug request object in the context in http://hg.tryton.org/trytond/rev/dce0d8fb3c3f So you can retrieve the remote_addr attribute but you should not consider that the _request key will always be in the context. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180728152413.qzja5ebq6batpxjs%40kei.