diff options
| author | Simon Lejeune <sle@openerp.com> | 2014-03-21 11:58:06 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2014-03-21 11:58:06 +0100 |
| commit | 57e6e8fd282a385cba17ca9dcd8b77cd2bb6446b (patch) | |
| tree | 8d11f81f177cda9ea5d0d8a2e06d0ae19826d503 /addons/report/static/src/js | |
| parent | 246ec6854bafebdd5b81afd0ca131dae6e949801 (diff) | |
[FIX] Multiples fixes: correct context passing, changed osv.Model to osv.AbstractModel to avoid creating tables in database when the model use for the reports contains only method
bzr revid: sle@openerp.com-20140321105806-0bwo992995la91fe
Diffstat (limited to 'addons/report/static/src/js')
| -rw-r--r-- | addons/report/static/src/js/qwebactionmanager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/report/static/src/js/qwebactionmanager.js b/addons/report/static/src/js/qwebactionmanager.js index cb04b8dc641..57163d58b20 100644 --- a/addons/report/static/src/js/qwebactionmanager.js +++ b/addons/report/static/src/js/qwebactionmanager.js @@ -49,7 +49,7 @@ openerp.report = function(instance) { } if (action.report_type == 'qweb-html' || action.report_type == 'controller') { // Open the html report in a popup - window.open(report_url, '_blank', 'height=768,width=1024'); + window.open(report_url, '_blank', 'height=900,width=1280'); instance.web.unblockUI(); return; } else { @@ -63,7 +63,7 @@ openerp.report = function(instance) { // Fallback of qweb-pdf if wkhtmltopdf is not installed if (!presence && action.report_type == 'qweb-pdf') { self.do_notify(_t('Report'), _t('Unable to find Wkhtmltopdf on this \ -system. The report will be shown in html.<br><br><a href="http://wkhtmltopdf.org/" _target="blank">\ +system. The report will be shown in html.<br><br><a href="http://wkhtmltopdf.org/" target="_blank">\ wkhtmltopdf.org</a>'), true); window.open(report_url.substring(12), '_blank', 'height=768,width=1024'); instance.web.unblockUI(); |
