From a86f08c2a6c088dca72c2b9654bc0c90297488e3 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Wed, 26 Sep 2012 15:50:34 +0530 Subject: [PATCH 1/7] [IMP] hr_holidays: add menu to see allocation requests to approve bzr revid: cha@tinyerp.com-20120926102034-cit2yvaaits6nnfy --- addons/hr_holidays/hr_holidays_view.xml | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 347e2b17ca5..3f147bab770 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -353,6 +353,32 @@ + + Allocation Requests Approve + hr.holidays + form + {'default_type': 'add', 'search_default_approve':1} + [('type','=','add')] + + + + + + + tree + + + + + + + form + + + + + + Leaves Summary hr.holidays From 77d4347f4ab4bece16d29893dd2aecb58fa65511 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Wed, 26 Sep 2012 18:23:25 +0530 Subject: [PATCH 2/7] [IMP] hr_expense: made access_rule to create expense as a employee bzr revid: cha@tinyerp.com-20120926125325-xshc34cau22qnc40 --- addons/hr_expense/security/ir.model.access.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_expense/security/ir.model.access.csv b/addons/hr_expense/security/ir.model.access.csv index 0455302319e..3da3cf0e59f 100644 --- a/addons/hr_expense/security/ir.model.access.csv +++ b/addons/hr_expense/security/ir.model.access.csv @@ -9,6 +9,7 @@ access_product_template_hr_expense_user,product.template.hr.expense.user,product access_product_uom_hr_expense_user,product.uom.hr.expense.user,product.model_product_uom,base.group_hr_user,1,1,1,1 access_product_price_type_user,product.price.type.user,product.model_product_price_type,base.group_hr_user,1,1,1,1 access_account_journal_user,account.journal.user,account.model_account_journal,base.group_hr_user,1,1,1,1 +access_account_journal_employee,account.journal.employee,account.model_account_journal,base.group_user,1,1,1,1 access_account_invoice_user,account.invoice.user,account.model_account_invoice,base.group_hr_user,1,1,1,1 access_account_invoice_line_user,account.invoice.line.user,account.model_account_invoice_line,base.group_hr_user,1,1,1,1 access_account_analytic_journal_user,account.ianalytic.journal.user,account.model_account_analytic_journal,base.group_hr_user,1,1,1,1 From 3636c648c16049ae79d58131011690db105f3f51 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 27 Sep 2012 17:19:18 +0530 Subject: [PATCH 3/7] [IMP] hr,hr_recruitment: made changes in form view bzr revid: cha@tinyerp.com-20120927114918-e7hm58o91idp2unw --- addons/hr/hr_view.xml | 5 ++++- addons/hr_recruitment/hr_recruitment_view.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 5d4c2ae9d45..fef57af44d9 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -360,10 +360,13 @@