From df88a14aa9cc65227c0be513371af75396324422 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 16 Mar 2012 16:14:06 +0530 Subject: [PATCH 01/10] [IMP]state fields are added in aplicant kanban view. bzr revid: kbh@tinyerp.com-20120316104406-taz2wokz7urbyeyi --- addons/hr_recruitment/hr_recruitment_view.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 69a7c104073..c188365b416 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -339,7 +339,9 @@
+ +

From dc7371ad56bfad0823ef6967718889ae935cb074 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 16 Mar 2012 17:07:33 +0530 Subject: [PATCH 02/10] [IMP]states changed. bzr revid: kbh@tinyerp.com-20120316113733-r8qgjwh27ffjdf87 --- addons/hr_recruitment/hr_recruitment_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index c188365b416..15155a318cc 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -339,9 +339,9 @@
- + - +

From 01bfed053b4a0d204eee9b8ef9b26e7337a54e73 Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Fri, 16 Mar 2012 17:45:25 +0530 Subject: [PATCH 03/10] [IMP]:hr_recruitment:improved state in Refuse and Hire buttons bzr revid: apa@tinyerp.com-20120316121525-o2rt3i5gd9u5h6z9 --- addons/hr_recruitment/hr_recruitment_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 026a94c2ec9..2515045a7d3 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -341,8 +341,8 @@
- +

From 583c11eba017f208d097712319daa4ccd6aae4ac Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Fri, 16 Mar 2012 18:21:23 +0530 Subject: [PATCH 04/10] [FIX]Can Constitute an Expense ? set as a true when creating from hr_expense bzr revid: sgo@tinyerp.com-20120316125123-28u9weolcszgexms --- addons/hr_expense/hr_expense_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index 23883b79838..0103e13628d 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -81,7 +81,7 @@
- + From 0b2d045f91c56751d517bd8fb5dda377ac0b6111 Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Fri, 16 Mar 2012 18:41:11 +0530 Subject: [PATCH 05/10] [IMP]hr_holidays: improve in hr holidays form view and list view as per suggestion and reform warning bzr revid: sgo@tinyerp.com-20120316131111-agud3dotpourl7uy --- addons/hr_holidays/hr_holidays.py | 2 +- addons/hr_holidays/hr_holidays_view.xml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 3bb7a8e4982..b4127d83773 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -341,7 +341,7 @@ class hr_holidays(osv.osv): if record.employee_id and not record.holiday_status_id.limit: leaves_rest = holi_status_obj.get_days( cr, uid, [record.holiday_status_id.id], record.employee_id.id, False)[record.holiday_status_id.id]['remaining_leaves'] if leaves_rest < record.number_of_days_temp: - raise osv.except_osv(_('Warning!'),_('You cannot validate leaves for employee %s: too few remaining days (%s).') % (record.employee_id.name, leaves_rest)) + raise osv.except_osv(_('Warning!'),_('There are no %s allocated for employee %s, Please create allocation request for this leave type.') % (record.holiday_status_id.name,record.employee_id.name)) return True hr_holidays() diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 22d4d6e567d..e52124bf4c5 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -65,18 +65,18 @@ - + - + - + @@ -150,8 +150,8 @@ tree - + @@ -231,21 +231,21 @@ tree - - - - + - + + + + + - -