From 8eb7e8ab6c17a20aef85594cac337329df43ae1e Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 09:59:51 +0200 Subject: [PATCH 1/4] [MERGE] + improve hr_timesheet bzr revid: fp@tinyerp.com-20121026075951-2hmaydu7skwhs5k2 --- addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml | 2 +- .../hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index f3e3af5f610..ac24cbcdc0c 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -324,7 +324,7 @@ - + diff --git a/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml b/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml index c982a9bbd39..dfe89c87f70 100644 --- a/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml +++ b/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml @@ -5,7 +5,7 @@ hr_timesheet_current_open.form hr.timesheet.current.open -
+ @@ -19,7 +19,7 @@ - My Current Timesheet + My Timesheet hr.timesheet.current.open form tree,form @@ -28,7 +28,7 @@ My Timesheet opens your timesheet so that you can book your activities into the system. From the same form, you can register your attendances (Sign In/Out) and describe the working hours made on the different projects. At the end of the period defined in the company, the timesheet is confirmed by the user and can be validated by his manager. If required, as defined on the project, you can generate the invoices based on the timesheet. - + From 619390d23cd337721bbe67a316052e77ee843335 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 10:01:37 +0200 Subject: [PATCH 2/4] [IMP] timesheets bzr revid: fp@tinyerp.com-20121026080137-bluybqibtsjgb25n --- addons/hr/res_config.py | 2 +- addons/hr_attendance/res_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr/res_config.py b/addons/hr/res_config.py index 7ae28348045..96bb42d1d8a 100644 --- a/addons/hr/res_config.py +++ b/addons/hr/res_config.py @@ -28,7 +28,7 @@ class hr_config_settings(osv.osv_memory): _columns = { 'module_hr_timesheet_sheet': fields.boolean('Allow timesheets validation by managers', help ="""This installs the module hr_timesheet_sheet."""), - 'module_hr_attendance': fields.boolean('Track attendances', + 'module_hr_attendance': fields.boolean('Install attendances feature', help ="""This installs the module hr_attendance."""), 'module_hr_timesheet': fields.boolean('Manage timesheets', help ="""This installs the module hr_timesheet."""), diff --git a/addons/hr_attendance/res_config.py b/addons/hr_attendance/res_config.py index 0da2d183409..61e2f784a5a 100644 --- a/addons/hr_attendance/res_config.py +++ b/addons/hr_attendance/res_config.py @@ -25,7 +25,7 @@ class hr_attendance_config_settings(osv.osv_memory): _inherit = 'hr.config.settings' _columns = { - 'group_hr_attendance': fields.boolean('Track attendances', + 'group_hr_attendance': fields.boolean('Track attendances for all employees', implied_group='base.group_hr_attendance', help="Allocates attendance group to all users."), } From f1c4b00a2926300f792a5229a591edc6dddc0d1f Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 10:33:52 +0200 Subject: [PATCH 3/4] [IMP] add option in hr settings bzr revid: fp@tinyerp.com-20121026083352-fkni5niw3a7t2m5s --- addons/hr/res_config.py | 2 ++ addons/hr/res_config_view.xml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/addons/hr/res_config.py b/addons/hr/res_config.py index 96bb42d1d8a..148499190fd 100644 --- a/addons/hr/res_config.py +++ b/addons/hr/res_config.py @@ -42,6 +42,8 @@ class hr_config_settings(osv.osv_memory): help ="""This installs the module hr_contract."""), 'module_hr_evaluation': fields.boolean('Organize employees periodic evaluation', help ="""This installs the module hr_evaluation."""), + 'module_account_analytic_analysis': fields.boolean('Allow invoicing based on timesheets (will install the sale application)', + help ="""This installs the module account_analytic_analysis, which will install sales management too."""), 'module_hr_payroll': fields.boolean('Manage payroll', help ="""This installs the module hr_payroll."""), } diff --git a/addons/hr/res_config_view.xml b/addons/hr/res_config_view.xml index f370b26139d..632ceb56918 100644 --- a/addons/hr/res_config_view.xml +++ b/addons/hr/res_config_view.xml @@ -69,6 +69,10 @@