title: odoo qweb report current user lang
body: <p>I am creating the report which can be translated to current user language. so I tried the following code. Report is working but the language to translate is always the <code>partner_id</code> of model (<code>stock.picking</code>), But I want the report to be translated to current logged user lang. </p>
  
  <p>report translation is as below:</p>
  
  <pre><code>&lt;template id="report_print_recvng_wkst"&gt;
      &lt;t t-call="report.html_container"&gt;
          &lt;t t-foreach="doc_ids" t-as="doc_id"&gt;
              &lt;t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'wms_report.report_recvngwkst_document')"/&gt;
          &lt;/t&gt;
      &lt;/t&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>I also tried putting <code>user.lang</code> , <code>lang</code> or <code>env.user.lang</code>, but I get the error that stock.picking do not have user.lang etc. </p>
  
  <p>Also, is there a way to debug in xml file, I mean how can I see the env object in report </p>