You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tryton
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.
Cédric Krier
unread,
Jul 28, 2018, 11:25:06 AM7/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tryton
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.