From 4ff49df02b7ad36c6f3ac828081ee038f8bf014c Mon Sep 17 00:00:00 2001 From: Yannick Tivisse <yti@odoo.com> Date: Fri, 2 Sep 2016 13:14:30 +0200 Subject: [PATCH] [FIX] report: Fix due to report migration --- addons/report/models/res_company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/report/models/res_company.py b/addons/report/models/res_company.py index 450570c9293b..2aa89ed37600 100644 --- a/addons/report/models/res_company.py +++ b/addons/report/models/res_company.py @@ -36,7 +36,7 @@ class ResCompany(models.Model): 'res_model': 'ir.ui.view', 'view_type': 'form', 'view_mode': 'form', - 'res_id': template_id, + 'res_id': template_id.id, } @api.multi -- GitLab