[IMP]GOLEM Member Report Card : enhance names of printing

This commit is contained in:
Fabien BOURGEOIS 2018-03-08 16:08:50 +01:00
parent f9067e578f
commit 75726a8302
2 changed files with 12 additions and 8 deletions

View File

@ -19,7 +19,7 @@
{
'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC',
'version': '10.0.1.1.1',
'version': '10.0.1.1.2',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',

View File

@ -20,12 +20,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<odoo>
<report id="golem_member_report_pdf" string="Golem member report [PDF]"
model="golem.member" report_type="qweb-pdf"
name="golem_member.golem_member_card_template" />
<report id="golem_member_report_html" string="Golem member report [HTML]"
model="golem.member" report_type="qweb-html"
name="golem_member.golem_member_card_template" />
<report id="golem_member_report_pdf" model="golem.member"
string="Golem member report [PDF]" report_type="qweb-pdf"
name="golem_member.golem_member_card_template"
file="golem_member.golem_member_card_template"
attachment="(object.name + '.pdf')" />
<report id="golem_member_report_html" model="golem.member"
string="Golem member report [HTML]" report_type="qweb-html"
name="golem_member.golem_member_card_template"
file="golem_member.golem_member_card_template"
attachment="(object.name + '.html')" />
<template id="golem_member_card_template">
<t t-call="report.html_container">