[IMP] hr_recruitment : change availability into date field
This commit is contained in:
committed by
Richard Mathot
parent
4380b90965
commit
8eba80a1c2
@@ -240,7 +240,7 @@ class hr_applicant(osv.Model):
|
||||
'salary_expected_extra': fields.char('Expected Salary Extra', help="Salary Expected by Applicant, extra advantages"),
|
||||
'salary_proposed': fields.float('Proposed Salary', help="Salary Proposed by the Organisation"),
|
||||
'salary_expected': fields.float('Expected Salary', help="Salary Expected by Applicant"),
|
||||
'availability': fields.integer('Availability', help="The number of days in which the applicant will be available to start working"),
|
||||
'availability': fields.date('Availability', help="The date in which the applicant will be available to start working. \n\nAdditional information like 'Not before the first 15 days of March' or 'Depends on the notice negociation' can be written in the application summary field."),
|
||||
'partner_name': fields.char("Applicant's Name"),
|
||||
'partner_phone': fields.char('Phone', size=32),
|
||||
'partner_mobile': fields.char('Mobile', size=32),
|
||||
|
||||
@@ -137,10 +137,7 @@
|
||||
<field name="job_id" on_change="onchange_job(job_id,stage_id)"/>
|
||||
<field name="department_id"/>
|
||||
<field name="company_id" />
|
||||
<label for="availability"/>
|
||||
<div>
|
||||
<field name="availability" class="oe_inline"/> <label string="Day(s)" class="oe_inline"/>
|
||||
</div>
|
||||
<field name="availability"/>
|
||||
</group>
|
||||
<group string="Contract">
|
||||
<label for="salary_expected"/>
|
||||
|
||||
@@ -48,7 +48,6 @@ class hr_recruitment_report(osv.Model):
|
||||
'salary_exp' : fields.float("Salary Expected", digits=0),
|
||||
'salary_exp_avg' : fields.float("Avg. Expected Salary", group_operator="avg", digits=0),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner',readonly=True),
|
||||
'available': fields.float("Availability"),
|
||||
'delay_close': fields.float('Avg. Delay to Close', digits=(16,2), readonly=True, group_operator="avg",
|
||||
help="Number of Days to close the project issue"),
|
||||
'last_stage_id': fields.many2one ('hr.recruitment.stage', 'Last Stage'),
|
||||
@@ -68,7 +67,6 @@ class hr_recruitment_report(osv.Model):
|
||||
s.user_id,
|
||||
s.job_id,
|
||||
s.type_id,
|
||||
sum(s.availability) as available,
|
||||
s.department_id,
|
||||
s.priority,
|
||||
s.stage_id,
|
||||
|
||||
Reference in New Issue
Block a user