[MOV]GOLEM Membership member card report move
This commit is contained in:
parent
9898a98da1
commit
027eaf0a9b
@ -29,23 +29,32 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<template id="golem_member_card_template">
|
||||
<t t-call="report.html_container">
|
||||
<t t-set="season" t-value="docs._default_season()" />
|
||||
<t t-foreach="docs" t-as="member" id="foreach_member">
|
||||
<t t-call="report.external_layout">
|
||||
<div id='page_report_member' class="page">
|
||||
<t t-set="season" t-value="docs._default_season()" />
|
||||
<t t-foreach="docs" t-as="member">
|
||||
<div class="row">
|
||||
<h2>Member <span t-field="member.name" /> - <span t-field="member.number" /></h2>
|
||||
<p>
|
||||
<strong>Season :</strong>
|
||||
<div class="col-xs-6">
|
||||
<h2>
|
||||
<span t-field="member.name" />
|
||||
<small>(num. <span t-field="member.number" />)</small>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<h3>
|
||||
Season :
|
||||
<span t-field="season.name" />
|
||||
<t t-if="season.date_start">
|
||||
(<em>from :
|
||||
<span t-field="season.date_start" /> to
|
||||
<span t-field="season.date_end" /></em>)
|
||||
<br />
|
||||
<small>Period :
|
||||
<span t-field="season.date_start" /> -
|
||||
<span t-field="season.date_end" />
|
||||
</small>
|
||||
</t>
|
||||
</p>
|
||||
</h3>
|
||||
</div>
|
||||
<h3>Activities for this season</h3>
|
||||
</div>
|
||||
<h3>Activities</h3>
|
||||
<table id="table_activity_ref" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -92,10 +101,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<tr id="activity_inherit_total"></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
@ -27,5 +27,5 @@
|
||||
'depends': ['golem_member', 'account', 'decimal_precision'],
|
||||
'data': ['views/golem_membership_invoice.xml',
|
||||
'views/golem_member_view.xml',
|
||||
'report/golem_member_report.xml']
|
||||
'views/report_golem_member.xml']
|
||||
}
|
||||
|
@ -1,19 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2016 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/>.
|
||||
|
||||
from . import golem_membership
|
Loading…
Reference in New Issue
Block a user