[IMP] HR : Set attrs for account payroll group

bzr revid: dbr@tinyerp.com-20120404130948-opg24wywr0gvq1nb
This commit is contained in:
DBR (OpenERP)
2012-04-04 18:39:48 +05:30
parent 704b999372
commit 2a6fe272b3
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -33,6 +33,8 @@ class human_resources_configuration(osv.osv_memory):
help ="""It installs the hr_holidays module."""),
'module_hr_payroll_account': fields.boolean('Manage Account Payroll',
help ="""It installs the hr_payroll_account module."""),
'module_hr_payroll': fields.boolean('Manage HR Payroll',
help ="""It installs the hr_payroll module."""),
'module_hr_expense': fields.boolean('Manage Employees Expenses',
help ="""It installs the hr_expense module."""),
'module_hr_recruitment': fields.boolean('Manage Recruitment Process',
+2 -1
View File
@@ -22,6 +22,7 @@
<button name="%(action_create_hr_employee_installer)d" string="Employees" type="action" icon="gtk-apply"/>
<field name="module_hr_timesheet_sheet"/>
<field name="module_hr_holidays"/>
<field name="module_hr_payroll"/>
<label string="Configure Your Salary Rules :"/>
<button string="Salary Rules" icon="gtk-go-forward" name="%(open_payroll1_modules)d" type="action" />
</group>
@@ -32,7 +33,7 @@
<field name="module_hr_evaluation"/>
<field name="module_hr_contract"/>
</group>
<group colspan="4" col="4">
<group name="Account Payroll" colspan="4" col="4" attrs="{'invisible': [('module_hr_payroll','=',False)]}">
<separator string="Account Payroll" colspan="4"/>
<field name="module_hr_payroll_account"/>
</group>