The current spreadsheet layout is not adapted to print the document as the spreadsheet component is designed to only be rendered in the visible part of the client viewport, the invisible parts of the spreadsheet are not rendered. This revision adds the possibility to render the whole spreadsheet when the user wants to print the document (either via a top menu button or with the generic shortcut Ctrl+P). closes odoo/odoo#140281 Task: 3575484 Related: odoo/enterprise#49829 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
{
|
|
"name": "Spreadsheet dashboard",
|
|
"version": "1.0",
|
|
"category": "Hidden",
|
|
"summary": "Spreadsheet",
|
|
"description": "Spreadsheet",
|
|
"depends": ["spreadsheet"],
|
|
"installable": True,
|
|
"license": "LGPL-3",
|
|
"data": [
|
|
"security/security.xml",
|
|
"security/ir.model.access.csv",
|
|
"views/spreadsheet_dashboard_views.xml",
|
|
"views/menu_views.xml",
|
|
"data/dashboard.xml",
|
|
],
|
|
"assets": {
|
|
"spreadsheet.o_spreadsheet": [
|
|
"spreadsheet_dashboard/static/src/bundle/**/*.js",
|
|
"spreadsheet_dashboard/static/src/bundle/**/*.xml",
|
|
],
|
|
'spreadsheet.assets_print': [
|
|
'spreadsheet_dashboard/static/src/print_assets/**/*',
|
|
],
|
|
"web.assets_backend": [
|
|
"spreadsheet_dashboard/static/src/assets/**/*.js",
|
|
"spreadsheet_dashboard/static/src/**/*.scss",
|
|
],
|
|
"web.qunit_suite_tests": [
|
|
"spreadsheet_dashboard/static/tests/**/*",
|
|
("remove", "spreadsheet_dashboard/static/tests/mobile/**/*.js"),
|
|
],
|
|
"web.qunit_mobile_suite_tests": [
|
|
"spreadsheet_dashboard/static/tests/mobile/**/*.js",
|
|
"spreadsheet_dashboard/static/tests/utils/**/*.js",
|
|
("include", "spreadsheet.o_spreadsheet"),
|
|
],
|
|
},
|
|
}
|