summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-10-26 10:33:52 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-10-26 10:33:52 +0200
commitf1c4b00a2926300f792a5229a591edc6dddc0d1f (patch)
tree1e7a779b28f127adfefcc2c9cd274010fb6b55c3
parent619390d23cd337721bbe67a316052e77ee843335 (diff)
[IMP] add option in hr settings
bzr revid: fp@tinyerp.com-20121026083352-fkni5niw3a7t2m5s
-rw-r--r--addons/hr/res_config.py2
-rw-r--r--addons/hr/res_config_view.xml4
2 files changed, 6 insertions, 0 deletions
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 @@
<field name="module_hr_timesheet_sheet" class="oe_inline"/>
<label for="module_hr_timesheet_sheet"/>
</div>
+ <div name="account_analytic_analysis">
+ <field name="module_account_analytic_analysis" class="oe_inline"/>
+ <label for="module_account_analytic_analysis"/>
+ </div>
<div name="hr_attendance">
<field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)" class="oe_inline"/>
<label for="module_hr_attendance"/>