From eab2bb41405d642eca50a720e399caaabb9753c4 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Mon, 14 May 2012 15:10:42 +0200 Subject: [PATCH] [IMP] hr config wizard: add field for payroll, and button to country-specific payroll modules bzr revid: rco@openerp.com-20120514131042-razysd3liy2vvd9u --- addons/hr/res_config.py | 2 ++ addons/hr/res_config_view.xml | 10 ++++++++-- addons/l10n_be_hr_payroll/static/src/img/icon.png | Bin 0 -> 599 bytes 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 addons/l10n_be_hr_payroll/static/src/img/icon.png 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 @@ + + +