[IMP]GOLEM Member : small enhancement, do not show number where is not on report

This commit is contained in:
Fabien BOURGEOIS 2018-08-01 16:29:06 +02:00
parent 33ded22f1b
commit 00451b4f9f
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@
'name': 'GOLEM non-profit members', 'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC', 'summary': 'Extends Odoo contacts for MJC',
'description': 'Extends Odoo contacts for MJC', 'description': 'Extends Odoo contacts for MJC',
'version': '10.0.2.2.5', 'version': '10.0.2.2.6',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne', 'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -41,7 +41,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="col-xs-12" id="member_title"> <div class="col-xs-12" id="member_title">
<h2 class="golem_report_title"> <h2 class="golem_report_title">
<span t-field="member.name" /> <span t-field="member.name" />
<small>(num. <span t-field="member.number" />)</small> <small t-if="member.number">
(num. <span t-field="member.number" />)
</small>
</h2> </h2>
</div> </div>
<div class="col-xs-12" id="season_info"> <div class="col-xs-12" id="season_info">