diff --git a/addons/hr/res_config.py b/addons/hr/res_config.py index a5297b0feb7..fb48f020f24 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('Periodic Appraisals', help ="""This installs the module hr_evaluation."""), + 'module_hr_payroll': fields.boolean('Payroll', + help ="""This installs the module hr_payroll."""), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr/res_config_view.xml b/addons/hr/res_config_view.xml index 62ba213489b..94b2f35b13f 100644 --- a/addons/hr/res_config_view.xml +++ b/addons/hr/res_config_view.xml @@ -1,11 +1,12 @@ - + Payroll ir.module.module kanban,tree,form - [('state','=','uninstalled'), ('name','ilike','payroll'), ('name','!=','hr_payroll_account')] + + @@ -25,6 +26,11 @@ + + +