Skip to content

Commit

Permalink
[FIX] base: add company in unnamed reports
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Mar 20, 2018
1 parent 4581167 commit a58eb89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions odoo/addons/base/models/ir_actions_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ def render_qweb_html(self, docids, data=None):
'doc_ids': docids,
'doc_model': self.model,
'docs': docs,
'company_id': self.env['res.company'].browse([self.env.user.company_id.id]),
}
return self.render_template(self.report_name, data), 'html'

Expand Down

0 comments on commit a58eb89

Please sign in to comment.