 <p>Found how to get it:</p> <pre><code>from openerp.http import request ua = request.httprequest.environ.get('HTTP_USER_AGENT', '') </code></pre> <p>Note. <code>httprequest</code> seems to be deprecated. But for now I din't find another way to get user agent.</p>