[ADD]GOLEM Base : base CSS style for reports

This commit is contained in:
Fabien BOURGEOIS 2018-03-18 09:56:07 +01:00
parent 9e3fb079b3
commit 39256ec70d
3 changed files with 42 additions and 3 deletions

View File

@ -18,13 +18,13 @@
{ {
'name': 'GOLEM base module for global dependencies', 'name': 'GOLEM base module for global dependencies',
'summary': 'GOLEM base installs base and shared dependencies for GOLEM', 'summary': 'GOLEM base installs base and shared dependencies for GOLEM',
'version': '10.0.1.0.0', 'version': '10.0.1.0.1',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois', 'author': 'Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',
'application': False, 'application': False,
'installable': True, 'installable': True,
'depends': ['membership', 'contacts', 'mail', 'account_voucher', 'depends': ['report', 'membership', 'contacts', 'mail', 'account_voucher',
'partner_firstname', 'partner_contact_birthdate', 'partner_firstname', 'partner_contact_birthdate',
'partner_contact_gender', 'partner_contact_gender',
'l10n_fr', 'l10n_fr_state', 'l10n_fr_department', 'l10n_fr', 'l10n_fr_state', 'l10n_fr_department',
@ -33,5 +33,7 @@
'web_widget_url_check', 'web_widget_url_check',
# 'web_one2many_kanban', # 'web_one2many_kanban',
'web_responsive'], 'web_responsive'],
'data': ['security/golem_security.xml', 'views/menus.xml'] 'data': ['security/golem_security.xml',
'views/menus.xml',
'views/yaltik_base_assets.xml']
} }

View File

@ -0,0 +1,6 @@
.golem_report_title {
text-align: center;
padding: 0.4em 0 0.4em 0;
border: 1px solid grey;
background-color: #eeeeee;
}

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018 Michel Dessenne <michel@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo>
<template id="report_assets_common_inherit_golem_base"
inherit_id="report.assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/golem_base/static/src/css/yaltik.css" />
</xpath>
</template>
</odoo>