Add report to activity
This commit is contained in:
parent
460d138730
commit
42bbe74fab
@ -18,7 +18,7 @@
|
||||
{
|
||||
'name': 'GOLEM activities',
|
||||
'summary': 'Extends Odoo products for multi-activity',
|
||||
'version': '10.0.2.1.2',
|
||||
'version': '10.0.2.1.3',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||
'license': 'AGPL-3',
|
||||
@ -27,5 +27,6 @@
|
||||
'depends': ['product', 'account', 'golem_base', 'golem_season'],
|
||||
'data': ['security/ir.model.access.csv',
|
||||
'data/golem_activity_data.xml',
|
||||
'views/golem_activity_views.xml']
|
||||
'views/golem_activity_views.xml',
|
||||
'report/golem_activity_report_templates.xml']
|
||||
}
|
||||
|
29
golem_activity/report/golem_activity_report_templates.xml
Normal file
29
golem_activity/report/golem_activity_report_templates.xml
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||
Copyright 2018 Fabien Bourgeois <fabien@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>
|
||||
|
||||
<report id="golem_activity_report_pdf" model="golem.activity"
|
||||
string="Activity Report [PDF]" report_type="qweb-pdf"
|
||||
name="golem_activity.golem_activity_report_template"
|
||||
file="golem_activity.golem_activity_report_template"
|
||||
attachment="(object.name + '.pdf')" />
|
||||
|
||||
|
||||
</odoo>
|
Loading…
Reference in New Issue
Block a user