set default photo if no photo in hr

bzr revid: apa@tinyerp.com-20110921072547-s52tt15emftr0lwp
This commit is contained in:
Amit (OpenERP)
2011-09-21 12:55:47 +05:30
parent 2ad93ea0cd
commit e5822caa30
+6 -1
View File
@@ -158,7 +158,12 @@
<table class="oe_kanban_table">
<tr>
<td valign="top" width="22">
<img t-att-src="'data:image/png;base64,'+record.photo.raw_value" width='48' height='48'/>
<t t-if="record.photo.raw_value">
<img t-att-src="'data:image/png;base64,'+record.photo.raw_value" width='48' height='48'/>
</t>
<t t-if="!record.photo.raw_value">
<img src="/web/static/src/img/employee.png"/>
</t>
</td>
<td>
<div class="oe_kanban_title2"><field name="job_id"/></div>