Added write_date and added icon of map-maker in place of Location & icon group in place of Job Position.
bzr revid: psa@tinyerp.com-20130814123327-o2hrf45poz5neexq
This commit is contained in:
parent
153c8290fc
commit
f5fa8852a8
|
@ -0,0 +1,10 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from openerp.osv import osv, fields
|
||||
|
||||
# defined for access rules
|
||||
class hr_job(osv.osv):
|
||||
_inherit = "hr.job"
|
||||
_columns = {
|
||||
'write_date': fields.datetime('Update Date', readonly=True),
|
||||
}
|
|
@ -32,8 +32,8 @@
|
|||
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></a><br/>
|
||||
<span t-if="job.department_id" t-esc="job.department_id.name"/><br/>
|
||||
<i class="icon-time"></i> <span t-esc="job.write_date"/><br/>
|
||||
<span><t t-if="job.no_of_recruitment > 0">No of Position: <t t-esc="job.no_of_recruitment"/></t><t t-if="job.no_of_recruitment < 1">Right now no recruitment is going on.</t></span><br/>
|
||||
<span><t t-if="job.no_of_recruitment > 0">Location: <t t-esc="res_company.city+','"/> <t t-esc="res_company.state_id.name+','"/> <t t-esc="res_company.country_id.name"/><br/>
|
||||
<span><t t-if="job.no_of_recruitment > 0"><i class="icon-group"></i> <t t-esc="job.no_of_recruitment"/></t><t t-if="job.no_of_recruitment < 1">Right now no recruitment is going on.</t></span><br/>
|
||||
<span><t t-if="job.no_of_recruitment > 0"><i class="icon-map-marker"></i> <t t-esc="res_company.city"/> <t t-esc="res_company.state_id.name"/> <t t-esc="res_company.country_id.name"/><br/>
|
||||
&#x2706; <t t-esc="res_company.phone"/></t></span>
|
||||
<div t-if="job.no_of_recruitment < 1">
|
||||
<strong>You may also be interested in our others job positions, for which we don't have availabilities right now.<br/>
|
||||
|
|
Loading…
Reference in New Issue