title: Print params in report from a wizard
body: <p>I'm trying to get a report from wizard, I'm pointing to mi res_model:stock.quant from my return:</p>
  
  <pre><code>def print_report(self, cr, uid, ids, context=None):
  datas = {'partner' : context.get('cliente'), 'mounth':context.get('mes')}
  return {
      'type': 'ir.actions.report.xml',
      #~ 'report_file': 'stock.uas.wizard',
      'report_name': 'stock.report_uas_document',
      'report_type': 'qweb-html',
      'datas': datas,
      'context': context,
      'res_model': 'stock.quant',
      'src_model': 'stock.quant',
  }   
  </code></pre>
  
  <p>I'm fetching the right model and report, but when y try to consume some field I get this error:</p>
  
  <pre><code>QWebException: "'NoneType' object has no attribute 'get_pallets'" while evaluating
  </code></pre>
  
  <p>And if I try with some function inside the model I get this error:</p>
  
  <pre><code>QWebException: ('MissingError', you'One of the documents you are trying to access has been deleted, please try again after refreshing.')
  </code></pre>
  
  <p>Like I am in another model with no field and function named la that.but if a do</p>
  
  <pre><code>&lt;span t-esc="o"/&gt;
  </code></pre>
  
  <p>In the report </p>
  
  <pre><code>y get: stock.quant(42,)
  </code></pre>
  
  <p>So the question is, how can I get and consume param from a return.</p>
  
  <p>I think I am in the right object, I build this report in traditional way and its word but through a return call function I don't get pass the param.</p>