diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 318701bb2d3..dbf0930c6bd 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -474,19 +474,19 @@ class hr_applicant(crm.crm_case, osv.osv): res = super(hr_applicant, self).case_reset(cr, uid, ids, *args) self.write(cr, uid, ids, {'date_open': False, 'date_closed': False}) return res - - def set_priority(self, cr, uid, ids, priority): - """Set lead priority + + def set_priority(self, cr, uid, ids, priority, *args): + """Set applicant priority """ return self.write(cr, uid, ids, {'priority' : priority}) def set_high_priority(self, cr, uid, ids, *args): - """Set lead priority to high + """Set applicant priority to high """ return self.set_priority(cr, uid, ids, '1') def set_normal_priority(self, cr, uid, ids, *args): - """Set lead priority to normal + """Set applicant priority to normal """ return self.set_priority(cr, uid, ids, '3') diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 0a7bb6104a5..65db3394ce3 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -293,29 +293,58 @@ + +
+ Phone: +
+
+ Mobile: +
+
oe_kanban_color_red
-
+ + + +
-
- - -
-
+
+ + + + + + + + + + + + + + + + + +
-
- +
+ + + + + +
: @@ -332,10 +361,8 @@