[IMP] HR : Set attrs for account payroll group
bzr revid: dbr@tinyerp.com-20120404130948-opg24wywr0gvq1nb
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user