2010-06-06 16:29:11 +00:00
<?xml version="1.0" encoding="utf-8"?>
2010-06-05 06:39:12 +00:00
<openerp >
<data >
2010-06-06 18:26:08 +00:00
<!-- Root Menus -->
2010-10-08 12:48:15 +00:00
<menuitem id= "menu_hr_root_payroll" parent= "hr.menu_hr_root" name= "Payroll" sequence= "9" />
2010-12-28 15:34:17 +00:00
<menuitem id= "payroll_configure" parent= "hr.menu_hr_configuration" name= "Payroll" />
2010-08-13 13:36:45 +00:00
<menuitem id= "menu_hr_payroll_reporting" parent= "hr.menu_hr_reporting" name= "Payroll" groups= "base.group_hr_manager" />
2010-07-01 05:48:09 +00:00
2010-06-07 13:26:59 +00:00
<!-- Employee View -->
2010-06-06 19:09:53 +00:00
<record id= "hr_contract.hr_hr_employee_view_form2" model= "ir.ui.view" >
<field name= "name" > hr.hr.employee.view.form2</field>
<field name= "model" > hr.employee</field>
<field name= "inherit_id" ref= "hr.view_employee_form" />
<field name= "arch" type= "xml" >
2010-09-09 11:58:24 +00:00
<data >
<xpath expr= "/form/notebook/page[@string='Personal Information']" position= "after" >
2010-12-30 17:08:00 +00:00
<page string= "Miscellaneous" groups= "base.group_hr_user" >
2010-09-09 11:58:24 +00:00
<group colspan= "2" col= "2" >
<separator string= "Personal Info" colspan= "2" />
2010-10-06 12:44:54 +00:00
<field name= "bank_account_id" context= "{'display_partner':True, 'partner_id':partner_id}" />
2010-09-09 11:58:24 +00:00
<field name= "place_of_birth" />
<field name= "children" />
2011-03-14 08:58:54 +00:00
<field name= "basic" invisible= "0" />
2010-09-09 11:58:24 +00:00
</group>
<group colspan= "2" col= "2" >
<separator string= "Job Info" colspan= "2" />
<field name= "manager" select= "1" />
<field name= "vehicle" select= "1" />
<field name= "vehicle_distance" select= "1" />
<field name= "medic_exam" select= "1" string= "Medical Examination" />
</group>
</page>
</xpath>
</data>
2010-06-06 19:09:53 +00:00
</field>
</record>
2010-06-07 13:26:59 +00:00
<!-- End Employee View -->
2010-12-09 04:50:11 +00:00
2010-06-07 13:26:59 +00:00
<!-- Contract View -->
2011-03-03 12:49:03 +00:00
<record id= "hr_contract_form_inherit" model= "ir.ui.view" >
<field name= "name" > hr.contract.view.form.inherit</field>
2010-06-06 18:26:08 +00:00
<field name= "model" > hr.contract</field>
<field name= "type" > form</field>
2011-03-03 12:49:03 +00:00
<field name= "inherit_id" ref= "hr_contract.hr_contract_view_form" />
2010-06-06 18:26:08 +00:00
<field name= "arch" type= "xml" >
2011-03-03 12:49:03 +00:00
<data >
2011-03-07 08:45:15 +00:00
<xpath expr= "/form/notebook/page/group/field[@name='advantages']" position= "before" >
2011-03-03 12:49:03 +00:00
<field name= "struct_id" select= "1" />
</xpath>
2011-03-18 13:13:33 +00:00
<xpath expr= "/form/notebook/page/group/field[@name='working_hours']" position= "after" >
<field name= "schedule_pay" />
</xpath>
2011-03-03 12:49:03 +00:00
</data>
2010-06-06 18:26:08 +00:00
</field>
</record>
2011-03-03 12:49:03 +00:00
2010-06-06 18:26:08 +00:00
<!-- End Contract View -->
2010-08-03 06:41:46 +00:00
2011-03-29 07:26:48 +00:00
<!-- Holidays View -->
<record id= "hr_holidays_form_inherit" model= "ir.ui.view" >
<field name= "name" > hr.holidays.view.form.inherit</field>
<field name= "model" > hr.holidays</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "hr_holidays.edit_holiday_new" />
<field name= "arch" type= "xml" >
<data >
2011-03-29 13:32:43 +00:00
<xpath expr= "/form/group/group/field[@name='employee_id']" position= "replace" >
<field name= "employee_id" on_change= "onchange_employee_id(employee_id)" attrs= "{'required':[('holiday_type','=','employee')], 'invisible':[('holiday_type','=','category')]}" />
</xpath>
2011-03-29 07:26:48 +00:00
<xpath expr= "/form/notebook/page/field[@name='number_of_days_temp']" position= "after" >
2011-03-29 13:32:43 +00:00
<field name= "contract_id" select= "1" domain= "[('employee_id', '=', employee_id)]" attrs= "{'invisible':[('holiday_type','=','category')]}" />
2011-03-29 07:26:48 +00:00
</xpath>
</data>
</field>
</record>
<!-- End Holidays View -->
2010-06-18 00:51:41 +00:00
<!-- Salary structure -->
<record id= "view_hr_employee_grade_tree" model= "ir.ui.view" >
<field name= "name" > hr.payroll.structure.tree</field>
<field name= "model" > hr.payroll.structure</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Employee Function" >
<field name= "name" />
<field name= "code" />
2011-02-24 13:12:20 +00:00
<field name= "rule_ids" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-06-18 00:51:41 +00:00
</tree>
</field>
</record>
<record id= "view_hr_employee_grade_form" model= "ir.ui.view" >
<field name= "name" > hr.payroll.structure.form</field>
<field name= "model" > hr.payroll.structure</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Employee Function" >
2011-03-07 07:18:29 +00:00
<group col= "6" colspan= "6" >
<field name= "name" select= "1" />
2010-06-18 00:51:41 +00:00
<field name= "code" select= "1" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2011-03-07 07:18:29 +00:00
<field name= "parent_id" />
2010-06-18 00:51:41 +00:00
</group>
<notebook colspan= "4" >
2011-03-14 13:34:28 +00:00
<page string= "Salary Rules" >
<field colspan= "4" name= "rule_ids" nolabel= "1" />
</page>
2010-06-18 00:51:41 +00:00
</notebook>
</form>
</field>
</record>
2010-08-03 06:41:46 +00:00
2010-06-18 00:51:41 +00:00
<record id= "action_view_hr_employee_grade_form" model= "ir.actions.act_window" >
2011-03-07 11:28:17 +00:00
<field name= "name" > Salary Structures</field>
2010-06-18 00:51:41 +00:00
<field name= "res_model" > hr.payroll.structure</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_hr_employee_grade_tree" />
</record>
2010-08-03 06:41:46 +00:00
<menuitem
id="menu_hr_employee_function"
action="action_view_hr_employee_grade_form"
parent="payroll_configure"
2011-03-07 07:18:29 +00:00
sequence="13"
2010-06-18 00:51:41 +00:00
/>
<!-- End Salary structure -->
2010-08-03 06:41:46 +00:00
2010-06-18 00:51:41 +00:00
<!-- Holiday Status -->
2010-06-06 16:29:11 +00:00
<record model= "ir.ui.view" id= "view_holiday_status_form1" >
<field name= "name" > hr.holidays.status.inherit</field>
<field name= "model" > hr.holidays.status</field>
<field name= "inherit_id" ref= "hr_holidays.edit_holiday_status_form" />
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-10-16 07:36:10 +00:00
<xpath expr= "//group[@name='selection']" position= "replace" >
2010-12-29 20:10:26 +00:00
<group colspan= "2" >
<separator string= "Validation" colspan= "2" />
<newline />
<field name= "double_validation" />
<newline />
<field name= "limit" />
</group>
<group colspan= "2" >
<separator colspan= "2" string= "Payroll Configurtion" /> <newline />
2011-03-01 11:29:08 +00:00
<field name= "code" />
2010-12-29 20:10:26 +00:00
</group>
</xpath>
2010-10-16 07:36:10 +00:00
</field>
2010-06-06 16:29:11 +00:00
</record>
2010-06-18 00:51:41 +00:00
<!-- End Holiday Status -->
2010-08-03 06:41:46 +00:00
2010-06-18 00:51:41 +00:00
<!-- Payslip Line -->
2010-06-06 16:29:11 +00:00
<record id= "view_hr_payslip_line_tree" model= "ir.ui.view" >
<field name= "name" > hr.payslip.line.tree</field>
<field name= "model" > hr.payslip.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-06-07 13:26:59 +00:00
<tree string= "Salary Structure" editable= "bottom" >
2010-06-18 00:51:41 +00:00
<field name= "category_id" on_change= "onchange_category(category_id)" />
2010-10-08 13:18:45 +00:00
<field name= "sequence" groups= "base.group_extended" />
2010-06-06 16:29:11 +00:00
<field name= "name" />
<field name= "code" />
2010-06-18 00:51:41 +00:00
<field name= "type" />
2010-06-06 16:29:11 +00:00
<field name= "amount_type" />
<field name= "amount" on_change= "onchange_amount(amount, amount_type)" />
</tree>
</field>
</record>
<record id= "view_hr_payslip_line_form" model= "ir.ui.view" >
<field name= "name" > hr.payslip.line.form</field>
<field name= "model" > hr.payslip.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Payslip Line" >
2010-06-05 07:32:16 +00:00
<group col= "6" colspan= "4" >
2010-06-06 16:29:11 +00:00
<field name= "name" colspan= "4" select= "1" />
<field name= "code" select= "1" />
<field name= "slip_id" select= "1" />
<field name= "employee_id" />
2011-03-09 06:11:11 +00:00
<!-- <field name="function_id"/> -->
2010-06-05 07:32:16 +00:00
</group>
<group col= "2" colspan= "2" >
2010-06-06 16:29:11 +00:00
<separator colspan= "4" string= "Calculations" />
<field name= "category_id" on_change= "onchange_category(category_id)" />
2011-03-22 16:08:08 +00:00
<!-- <field name="type"/> -->
2010-06-06 16:29:11 +00:00
<field name= "amount_type" />
2011-03-17 11:35:35 +00:00
<field name= "amount" on_change= "onchange_amount(amount, amount_type)" attrs= "{'readonly':[('amount_type','=','code')]}" />
2010-10-08 13:18:45 +00:00
<field name= "sequence" groups= "base.group_extended" />
2010-06-05 07:32:16 +00:00
</group>
<group col= "2" colspan= "2" >
2010-06-06 16:29:11 +00:00
<separator colspan= "4" string= "Company contribution" />
<field name= "company_contrib" />
2010-06-05 07:32:16 +00:00
</group>
<notebook colspan= "4" >
2010-06-06 16:29:11 +00:00
<page string= "Description" >
<separator colspan= "4" string= "Description" />
2010-06-05 07:32:16 +00:00
<field name= "note" colspan= "4" nolabel= "1" />
</page>
</notebook>
</form>
</field>
</record>
2010-06-06 16:29:11 +00:00
<record id= "view_hr_payslip_tree" model= "ir.ui.view" >
<field name= "name" > hr.payslip.tree</field>
<field name= "model" > hr.payslip</field>
2010-06-05 07:32:16 +00:00
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-10-06 12:44:54 +00:00
<tree colors= "blue:state in ('confirm','hr_check','accont_check');black:state in ('new');gray:state in('cancel')" string= "Payslip" >
2010-06-06 16:29:11 +00:00
<field name= "number" />
2010-06-05 07:32:16 +00:00
<field name= "employee_id" />
2010-08-09 10:40:10 +00:00
<field name= "register_id" invisible= "1" />
2010-06-06 16:29:11 +00:00
<field name= "name" />
<field name= "date" />
2011-02-25 13:43:14 +00:00
<!-- field name="grows"/ -->
<!-- field name="net"/ -->
2010-06-06 16:29:11 +00:00
<field name= "state" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-06-05 07:32:16 +00:00
</tree>
</field>
</record>
2010-08-03 06:41:46 +00:00
2010-06-06 16:29:11 +00:00
<record id= "view_hr_payslip_form" model= "ir.ui.view" >
<field name= "name" > hr.payslip.form</field>
<field name= "model" > hr.payslip</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Payslip" >
<group col= "6" colspan= "4" >
2011-03-30 13:21:14 +00:00
<field name= "employee_id" on_change= "onchange_employee_id(date, employee_id, contract_id)" />
2010-06-06 16:29:11 +00:00
<field name= "name" />
2011-03-03 12:49:03 +00:00
<field name= "number" />
2010-06-06 16:29:11 +00:00
<field name= "date" />
2011-03-30 13:21:14 +00:00
<field name= "contract_id" groups= "base.group_extended" domain= "[('employee_id','=',employee_id)]" on_change= "onchange_contract_id(date, employee_id, contract_id)" />
2011-03-24 09:11:03 +00:00
<field name= "struct_id" groups= "base.group_extended" />
2010-06-06 16:29:11 +00:00
</group>
<notebook colspan= "4" >
2010-10-06 12:44:54 +00:00
<page string= "Salary Computation" >
2010-06-18 00:51:41 +00:00
<field name= "line_ids" colspan= "4" nolabel= "1" >
<tree string= "Salary Structure" editable= "bottom" >
<field name= "category_id" on_change= "onchange_category(category_id)" />
2010-10-08 13:18:45 +00:00
<field name= "sequence" groups= "base.group_extended" />
2010-06-18 00:51:41 +00:00
<field name= "name" />
<field name= "code" />
<field name= "type" />
<field name= "amount_type" />
<field name= "amount" on_change= "onchange_amount(amount, amount_type)" />
<field name= "total" />
</tree>
2010-10-08 14:11:43 +00:00
<form string= "Payslip Line" >
<group col= "6" colspan= "4" >
<field name= "name" colspan= "4" select= "1" />
<field name= "code" select= "1" />
</group>
<group col= "2" colspan= "2" >
<separator colspan= "4" string= "Calculations" />
<field name= "category_id" on_change= "onchange_category(category_id)" />
<field name= "type" />
<field name= "amount_type" />
2011-03-17 11:35:35 +00:00
<field name= "amount" on_change= "onchange_amount(amount, amount_type)" attrs= "{'readonly':[('amount_type','=','code')]}" />
2010-10-08 14:11:43 +00:00
<field name= "sequence" groups= "base.group_extended" />
</group>
<group col= "2" colspan= "2" >
<separator colspan= "4" string= "Company contribution" />
<field name= "company_contrib" />
</group>
<notebook colspan= "4" >
<page string= "Description" >
<separator colspan= "4" string= "Description" />
<field name= "note" colspan= "4" nolabel= "1" />
</page>
</notebook>
</form>
2010-06-18 00:51:41 +00:00
</field>
2011-03-29 07:26:48 +00:00
<!-- <group col="6" colspan="4">
2010-06-18 00:51:41 +00:00
<separator string= "Computation Overview" colspan= "6" />
2011-03-29 07:26:48 +00:00
<field name= "working_days" />
2010-06-06 16:29:11 +00:00
<field name= "holiday_days" />
<field name= "worked_days" />
<field name= "basic_before_leaves" />
<field name= "leaves" />
<field name= "basic" />
2011-03-02 09:34:07 +00:00
<field name= "allounce" />
<field name= "deduction" />
<field name= "grows" />
2011-03-29 07:26:48 +00:00
<field name= "net" />
2010-06-06 16:29:11 +00:00
<field name= "total_pay" />
2011-03-29 07:26:48 +00:00
</group> -->
2010-06-06 16:29:11 +00:00
</page>
2011-02-25 13:43:14 +00:00
<page string= "Holidays" >
<field name= "holiday_ids" colspan= "4" nolabel= "1" editable= "bottom" />
</page>
2011-03-07 09:26:49 +00:00
<page string= "Other Information" >
2010-06-06 16:29:11 +00:00
<group col= "2" colspan= "1" >
2011-03-07 09:26:49 +00:00
<separator colspan= "2" string= "Other Information" />
2010-06-06 16:29:11 +00:00
<field name= "paid" readonly= "1" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
<field name= "register_id" groups= "base.group_extended" />
2010-06-06 16:29:11 +00:00
</group>
2010-07-02 10:37:15 +00:00
<newline />
2010-06-06 16:29:11 +00:00
<separator colspan= "4" string= "Description" />
<field name= "note" colspan= "4" nolabel= "1" />
</page>
2011-03-25 13:20:10 +00:00
2011-03-24 09:11:03 +00:00
<page string= "Applied Salary Rules" >
2011-03-25 13:15:12 +00:00
<field name= "applied_salary_rule" nolabel= "1" />
2011-03-24 09:11:03 +00:00
</page>
2011-03-30 05:34:57 +00:00
<page string= "Appears On Payslip" >
2011-03-25 13:15:12 +00:00
<field name= "appears_on_payslip_rule" nolabel= "1" />
2011-03-24 09:11:03 +00:00
</page>
2011-03-30 05:34:57 +00:00
<page string= "Details By Salary Head" >
2011-03-30 05:30:55 +00:00
<field name= "details_by_salary_head" nolabel= "1" context= "{'group_by': 'category_id'}" />
2011-03-29 13:32:43 +00:00
</page>
2010-06-06 16:29:11 +00:00
</notebook>
2010-06-29 17:22:04 +00:00
<group col= "10" colspan= "4" >
2010-06-06 16:29:11 +00:00
<field name= "state" />
2010-09-23 10:00:36 +00:00
<button string= "Cancel" icon= "terp-dialog-close" name= "cancel_sheet" states= "draft,hr_check,confirm" />
2011-03-28 10:21:53 +00:00
<!-- <button string="Compute Sheet" icon="terp - stock_format - scientific" name="compute_sheet" states="new"/> -->
<button string= "Recompute Sheet" icon= "terp-stock_format-scientific" name= "compute_sheet" type= "object" states= "draft" />
2010-06-29 17:31:59 +00:00
<button string= "Verify Sheet" icon= "terp-camera_test" name= "verify_sheet" states= "draft" />
2010-07-14 06:01:49 +00:00
<button string= "Approve Sheet" icon= "terp-camera_test" name= "final_verify_sheet" states= "hr_check" />
2010-06-29 17:31:59 +00:00
<button string= "Pay Salary" icon= "terp-dolar_ok!" name= "process_sheet" states= "confirm" />
<button string= "Set to Draft" icon= "terp-stock_effects-object-colorize" name= "set_to_draft" states= "cancel" />
2010-06-06 16:29:11 +00:00
</group>
</form>
</field>
</record>
2010-06-29 17:22:04 +00:00
<record id= "view_hr_payslip_filter" model= "ir.ui.view" >
<field name= "name" > hr.payslip.select</field>
<field name= "model" > hr.payslip</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Payslips" >
<group col= "8" colspan= "4" >
<filter icon= "terp-document-new" string= "Draft" domain= "[('state','=','draft')]" help= "Draft Slip" />
<filter icon= "terp-camera_test" string= "Posted" domain= "[('state','=','posted')]" help= "Posted Slip" />
<separator orientation= "vertical" />
2010-08-19 09:38:02 +00:00
<filter icon= "terp-dolar_ok!" string= "Paid" domain= "[('state','=','done'),('paid','=',True)]" help= "Paid Slip" />
<separator orientation= "vertical" />
2010-06-29 17:22:04 +00:00
<field name= "name" />
<field name= "employee_id" />
<field name= "number" />
<field name= "date" />
</group>
<newline />
<group col= "8" colspan= "4" expand= "0" string= "Group By..." >
2010-08-19 09:38:02 +00:00
<filter string= "Employees" icon= "terp-personal" name= "employee_id" context= "{'group_by':'employee_id'}" />
<separator orientation= "vertical" />
2010-08-09 10:40:10 +00:00
<filter string= "Register" icon= "terp-folder-yellow" name= "register_id" context= "{'group_by':'register_id'}" />
2010-08-19 09:38:02 +00:00
<separator orientation= "vertical" />
<filter string= "Companies" name= "company_id" icon= "terp-go-home" context= "{'group_by':'company_id'}" />
<separator orientation= "vertical" />
2010-08-09 10:40:10 +00:00
<filter string= "States" name= "state" icon= "terp-stock_effects-object-colorize" context= "{'group_by':'state'}" />
2010-06-29 17:22:04 +00:00
</group>
</search>
</field>
2010-08-03 06:41:46 +00:00
</record>
2010-06-06 16:29:11 +00:00
<record id= "action_view_hr_payslip_form" model= "ir.actions.act_window" >
2011-03-07 11:28:17 +00:00
<field name= "name" > Employee Payslips</field>
2010-06-06 16:29:11 +00:00
<field name= "res_model" > hr.payslip</field>
2010-06-05 07:32:16 +00:00
<field name= "view_type" > form</field>
2010-06-06 16:29:11 +00:00
<field name= "view_id" ref= "view_hr_payslip_tree" />
2010-06-29 17:22:04 +00:00
<field name= "search_view_id" ref= "view_hr_payslip_filter" />
2010-06-05 07:32:16 +00:00
</record>
2010-06-06 16:29:11 +00:00
<menuitem action= "action_view_hr_payslip_form" id= "menu_department_tree" parent= "menu_hr_root_payroll" />
2010-08-03 06:41:46 +00:00
2010-06-09 14:38:22 +00:00
<!-- Payment Heads -->
2011-03-03 09:52:26 +00:00
<record id= "hr_salary_head_form" model= "ir.ui.view" >
<field name= "name" > hr.salary.head.form</field>
<field name= "model" > hr.salary.head</field>
2010-06-06 16:29:11 +00:00
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-06-18 00:51:41 +00:00
<form string= "Salary Heads" >
2011-03-03 09:52:26 +00:00
<group col= "3" colspan= "6" >
2010-06-06 16:29:11 +00:00
<field name= "name" select= "1" />
<field name= "code" select= "1" />
<field name= "type" select= "1" />
2011-03-22 16:08:08 +00:00
<!-- <field name="dispaly_payslip_report"/> -->
2010-06-06 16:29:11 +00:00
</group>
2011-03-01 09:59:10 +00:00
<separator colspan= "4" string= "Description" />
2011-03-01 13:29:38 +00:00
<field name= "note" colspan= "4" nolabel= "1" />
2010-06-06 16:29:11 +00:00
</form>
</field>
</record>
2011-03-03 09:52:26 +00:00
<record id= "hr_salary_head_tree" model= "ir.ui.view" >
<field name= "name" > hr.salary.head.tree</field>
<field name= "model" > hr.salary.head</field>
2010-06-06 16:29:11 +00:00
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-06-18 00:51:41 +00:00
<tree string= "Salary Heads" >
2010-06-06 16:29:11 +00:00
<field name= "name" />
<field name= "code" />
<field name= "type" />
</tree>
</field>
</record>
2010-06-30 06:03:59 +00:00
2011-03-03 09:52:26 +00:00
<record id= "view_hr_salary_head_filter" model= "ir.ui.view" >
<field name= "name" > hr.salary.head.select</field>
<field name= "model" > hr.salary.head</field>
2010-06-30 06:03:59 +00:00
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Salary Heads" >
<filter icon= "terp-document-new" string= "Allowance" domain= "[('type','=','allowance')]" />
<filter icon= "terp-check" string= "Deduction" domain= "[('type','=','deduction')]" />
<separator orientation= "vertical" />
<field name= "name" select= "1" />
2010-08-05 04:41:04 +00:00
<field name= "code" select= "1" />
2010-06-30 06:03:59 +00:00
<field name= "type" />
<newline />
<group expand= "0" string= "Group By..." colspan= "4" col= "4" groups= "base.group_extended" >
2010-10-28 07:23:40 +00:00
<filter string= "Type" icon= "terp-stock_symbol-selection" domain= "[]" context= "{'group_by':'type'}" />
2010-06-30 06:03:59 +00:00
</group>
</search>
</field>
</record>
2010-08-03 06:41:46 +00:00
2011-03-03 09:52:26 +00:00
<record id= "action_hr_salary_head" model= "ir.actions.act_window" >
2010-06-18 00:51:41 +00:00
<field name= "name" > Salary Heads</field>
2011-03-03 09:52:26 +00:00
<field name= "res_model" > hr.salary.head</field>
2010-06-06 16:29:11 +00:00
<field name= "view_type" > form</field>
2011-03-03 09:52:26 +00:00
<field name= "view_id" ref= "hr_salary_head_tree" />
<field name= "search_view_id" ref= "view_hr_salary_head_filter" />
2010-06-06 16:29:11 +00:00
</record>
2010-08-03 06:41:46 +00:00
<menuitem
2011-03-03 09:52:26 +00:00
id="menu_hr_salary_head"
action="action_hr_salary_head"
2010-08-03 06:41:46 +00:00
parent="payroll_configure"
2011-03-07 07:18:29 +00:00
sequence="11"
2010-06-06 16:29:11 +00:00
/>
2010-06-09 14:54:48 +00:00
<!-- End Payment Heads -->
2010-08-03 06:41:46 +00:00
2010-06-06 16:29:11 +00:00
<record id= "view_hr_payroll_register_tree" model= "ir.ui.view" >
<field name= "name" > hr.payroll.register.tree</field>
<field name= "model" > hr.payroll.register</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-07-20 11:14:02 +00:00
<tree colors= "blue:state in ('draft');black:state in ('confirm','new','hr_check','accont_check');gray:state in('done','cancel')" string= "Payroll Register" >
2010-06-06 16:29:11 +00:00
<field name= "number" />
<field name= "name" />
<field name= "date" />
<field name= "state" />
2011-03-18 13:13:13 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-06-06 16:29:11 +00:00
</tree>
</field>
</record>
<record id= "view_hr_payroll_register_form" model= "ir.ui.view" >
<field name= "name" > hr.payroll.register.form</field>
<field name= "model" > hr.payroll.register</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Payroll Register" >
<group col= "6" colspan= "4" >
2010-10-06 12:44:54 +00:00
<field name= "name" colspan= "4" select= "1" />
2010-06-06 16:29:11 +00:00
<field name= "number" select= "1" />
2010-10-06 12:44:54 +00:00
<field name= "bank_id" />
<field name= "date" select= "1" />
2011-03-18 13:13:13 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-06-06 16:29:11 +00:00
</group>
<notebook colspan= "4" >
<page string= "Payslips" >
<field name= "line_ids" colspan= "4" nolabel= "1" >
2010-07-20 11:14:02 +00:00
<tree colors= "blue:state in ('draft');black:state in ('confirm','new','hr_check','accont_check');gray:state in('done','cancel')" string= "Payslip" >
2010-06-06 16:29:11 +00:00
<field name= "number" />
<field name= "employee_id" />
<field name= "name" />
<field name= "date" />
2011-03-09 08:54:41 +00:00
<field name= "basic_amount" />
2011-03-09 08:57:33 +00:00
<!-- <field name="allounce"/> -->
2011-02-25 13:43:14 +00:00
<!-- field name="grows"/ -->
2011-03-09 08:57:33 +00:00
<!-- <field name="deduction"/> -->
2011-02-25 13:43:14 +00:00
<!-- field name="net"/ -->
2010-06-06 16:29:11 +00:00
<field name= "state" />
</tree>
</field>
2011-03-03 12:49:03 +00:00
<!-- <group col="2" colspan="2">
2010-06-06 16:29:11 +00:00
<separator colspan= "4" string= "Allowance / Deduction" />
<field name= "allounce" />
<field name= "deduction" />
2010-06-05 07:32:16 +00:00
</group>
2011-03-03 12:49:03 +00:00
<group col= "2" colspan= "2" >
2010-06-06 16:29:11 +00:00
<separator colspan= "4" string= "Salary Information" />
<field name= "grows" />
<field name= "net" />
2011-02-25 13:43:14 +00:00
</group-->
2010-06-05 07:32:16 +00:00
</page>
</notebook>
2010-06-06 16:29:11 +00:00
<group col= "8" colspan= "4" >
<field name= "state" />
2010-10-12 05:19:30 +00:00
<button string= "Cancel" name= "cancel_sheet" icon= "gtk-cancel" states= "draft,hr_check,accont_check,confirm" type= "object" />
2010-06-29 13:37:15 +00:00
<button string= "Compute" name= "compute_sheet" states= "new" icon= "terp-document-new" type= "object" />
<button string= "Verify Sheet" icon= "gtk-ok" name= "verify_sheet" states= "draft" type= "object" />
2010-07-02 10:37:15 +00:00
<button string= "Complete HR Checking" icon= "gtk-apply" name= "final_verify_sheet" type= "object" states= "hr_check" />
2010-06-29 13:37:15 +00:00
<button string= "Pay Salary" icon= "gtk-apply" name= "process_sheet" states= "confirm" type= "object" />
<button string= "Set to Draft" name= "set_to_draft" states= "cancel" type= "object" icon= "gtk-convert" />
2010-06-06 16:29:11 +00:00
</group>
2010-06-05 07:32:16 +00:00
</form>
</field>
</record>
2010-06-06 16:29:11 +00:00
<record id= "action_view_hr_payroll_register_form" model= "ir.actions.act_window" >
2011-03-07 11:28:17 +00:00
<field name= "name" > Payroll Registers</field>
2010-06-06 16:29:11 +00:00
<field name= "res_model" > hr.payroll.register</field>
2010-06-05 07:32:16 +00:00
<field name= "view_type" > form</field>
2010-06-06 16:29:11 +00:00
<field name= "view_mode" > tree,form</field>
</record>
2010-08-03 06:41:46 +00:00
<menuitem
action="action_view_hr_payroll_register_form"
id="hr_menu_payroll_register"
2010-06-06 16:29:11 +00:00
parent="menu_hr_root_payroll"
/>
2010-08-03 06:41:46 +00:00
2010-06-06 18:26:08 +00:00
<!--
Contribution Register
-->
<record id= "hr_contibution_register_tree" model= "ir.ui.view" >
<field name= "name" > hr.contibution.register.tree</field>
<field name= "model" > hr.contibution.register</field>
2010-06-06 16:29:11 +00:00
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-06-06 18:26:08 +00:00
<tree string= "Contribution Registers" >
2010-06-06 16:29:11 +00:00
<field name= "name" select= "1" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2010-06-06 18:26:08 +00:00
<field name= "monthly_total_by_emp" />
<field name= "monthly_total_by_comp" />
2010-06-06 16:29:11 +00:00
</tree>
</field>
</record>
2010-06-06 18:26:08 +00:00
<record id= "hr_contibution_register_form" model= "ir.ui.view" >
<field name= "name" > hr.contibution.register.form</field>
<field name= "model" > hr.contibution.register</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Contribution" >
<field name= "name" select= "1" />
2010-10-06 12:44:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2010-06-06 18:26:08 +00:00
<notebook colspan= "4" >
<page string= "Contribution Lines" >
<field colspan= "4" name= "register_line_ids" nolabel= "1" select= "1" >
<tree string= "Register Lines" editable= "top" >
<field name= "code" />
2010-10-06 12:44:54 +00:00
<field name= "name" />
2010-06-06 18:26:08 +00:00
<field name= "employee_id" />
<field name= "emp_deduction" />
2010-08-03 06:41:46 +00:00
<field name= "comp_deduction" />
<field name= "total" />
2010-06-06 18:26:08 +00:00
</tree>
</field>
</page>
<page string= "Description" >
<separator colspan= "4" string= "Description" />
<field name= "note" colspan= "4" nolabel= "1" />
</page>
</notebook>
2010-10-14 13:14:30 +00:00
<group col= "2" colspan= "2" name= "Month" >
2010-06-06 18:26:08 +00:00
<separator colspan= "2" string= "Month" />
<field name= "monthly_total_by_emp" />
<field name= "monthly_total_by_comp" />
</group>
2010-06-06 16:29:11 +00:00
</form>
</field>
</record>
<record id= "action_contibution_register_form" model= "ir.actions.act_window" >
2011-03-07 11:28:17 +00:00
<field name= "name" > Contribution Registers</field>
2010-06-06 16:29:11 +00:00
<field name= "res_model" > hr.contibution.register</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "hr_contibution_register_tree" />
</record>
<menuitem
2010-08-03 06:41:46 +00:00
id="menu_action_hr_contibution_register_form"
action="action_contibution_register_form"
parent="payroll_configure"
2011-03-07 07:18:29 +00:00
sequence="14"
2010-06-05 07:32:16 +00:00
/>
2010-06-06 16:29:11 +00:00
<record id= "hr_contibution_register_line_form" model= "ir.ui.view" >
<field name= "name" > hr.contibution.register.line.form</field>
<field name= "model" > hr.contibution.register.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Contribution" >
2010-06-06 18:26:08 +00:00
<field name= "name" />
<field name= "code" />
2010-08-03 06:41:46 +00:00
<field name= "employee_id" />
2010-06-06 18:26:08 +00:00
<field name= "emp_deduction" />
2010-08-03 06:41:46 +00:00
<field name= "comp_deduction" />
<field name= "total" />
2010-06-06 18:26:08 +00:00
</form>
2010-06-06 16:29:11 +00:00
</field>
</record>
2010-12-09 04:50:11 +00:00
2010-12-30 08:46:38 +00:00
2010-10-07 09:19:00 +00:00
<!-- Shortcuts -->
<act_window name= "Payslips"
domain="[('employee_id', '=', active_id)]"
2011-01-27 09:49:39 +00:00
context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}"
2010-10-07 09:19:00 +00:00
res_model="hr.payslip"
src_model="hr.employee"
2010-12-01 13:19:09 +00:00
view_id ="view_hr_payslip_tree"
2010-12-30 08:46:38 +00:00
id="act_hr_employee_payslip_list"
groups="base.group_hr_manager"/>
2011-02-24 13:12:20 +00:00
<!-- Salary Rules -->
2011-03-14 08:45:55 +00:00
2011-02-24 13:12:20 +00:00
<record id= "hr_salary_rule_tree" model= "ir.ui.view" >
<field name= "name" > hr.salary.rule.tree</field>
<field name= "model" > hr.salary.rule</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Salary Rules" >
2011-03-01 12:18:15 +00:00
<field name= "category_id" />
<field name= "sequence" groups= "base.group_extended" />
2011-02-24 13:12:20 +00:00
<field name= "name" />
2011-03-01 12:18:15 +00:00
<field name= "code" />
2011-02-24 13:12:20 +00:00
<field name= "type" />
2011-03-01 12:18:15 +00:00
<field name= "amount_type" />
2011-03-30 08:27:30 +00:00
<field name= "condition_range_min" />
<field name= "condition_range_max" />
<!-- <field name="amount"/> -->
<!-- <field name="parent_rule_id"/> -->
2011-02-24 13:12:20 +00:00
</tree>
</field>
</record>
<record id= "hr_salary_rule_form" model= "ir.ui.view" >
<field name= "name" > hr.salary.rule.form</field>
<field name= "model" > hr.salary.rule</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Salary Rules" >
2011-03-03 09:52:26 +00:00
<group col= "6" colspan= "6" >
2011-02-24 13:12:20 +00:00
<field name= "name" />
<field name= "code" select= "1" />
2011-03-24 08:40:09 +00:00
<field name= "category_id" />
2011-03-03 12:44:06 +00:00
<field name= "active" />
<field name= "sequence" />
2011-03-07 09:47:10 +00:00
<field name= "company_id" widget= "selection" groups= "base.group_multi_company" />
2011-03-01 11:29:08 +00:00
<field name= "appears_on_payslip" />
2011-02-24 13:12:20 +00:00
</group>
2011-03-07 10:45:13 +00:00
<notebook colspan= "6" >
<page string= "General" >
2011-03-14 13:34:28 +00:00
<group col= "6" colspan= "6" >
<group col= "2" colspan= "2" >
<separator colspan= "4" string= "Calculations" />
2011-03-22 16:08:08 +00:00
<!-- <field name="type"/> -->
2011-03-30 06:39:27 +00:00
<field name= "computational_expression" />
2011-03-22 16:08:08 +00:00
<field name= "condition_select" />
<field name= "conditions" attrs= "{'invisible':[('condition_select','=','range')]}" />
<field name= "condition_range_min" attrs= "{'invisible':[('condition_select','=','python')]}" colspan= "1" />
<field name= "condition_range_max" attrs= "{'invisible':[('condition_select','=','python')]}" colspan= "1" />
2011-03-14 13:34:28 +00:00
<field name= "amount_type" />
2011-03-30 08:27:30 +00:00
<field name= "parent_rule_id" />
<field name= "expression_result" />
2011-03-22 16:08:08 +00:00
<field name= "amount" on_change= "onchange_amount(amount, amount_type)" attrs= "{'invisible':[('amount_type','=','code')]}" />
<group col= "2" colspan= "2" attrs= "{'invisible':[('amount_type','<>','code')]}" >
<separator colspan= "2" string= "Compute Code" />
<field colspan= "2" name= "python_compute" nolabel= "1" attrs= "{'readonly':[('amount_type','!=','code')], 'required':[('amount_type','=','code')]}" />
</group>
2011-03-14 13:34:28 +00:00
</group>
<group col= "2" colspan= "2" >
<group col= "2" colspan= "2" >
<separator colspan= "4" string= "Company contribution" />
2011-03-18 13:13:33 +00:00
<field name= "company_contribution" />
<group col= "2" colspan= "2" attrs= "{'readonly':[('company_contribution','=',False)]}" >
2011-03-30 06:39:27 +00:00
<!-- <field name="amt_type" />
<field name= "contribute_per" /> -->
2011-03-21 09:35:39 +00:00
<field name= "register_id" />
2011-03-30 06:39:27 +00:00
<!-- <field name="company_contrib"/> -->
2011-03-18 13:13:33 +00:00
</group>
2011-03-14 13:34:28 +00:00
</group>
</group>
</group>
2011-03-07 10:45:13 +00:00
</page>
<page string= "Child Rules" >
2011-02-25 13:33:39 +00:00
<separator colspan= "4" string= "Children definition" />
2011-03-24 08:40:09 +00:00
<!-- <field name="child_depend"/> -->
<!-- <field name="display_child_rules"/> -->
<field colspan= "4" name= "child_ids" nolabel= "1" />
2011-02-25 13:33:39 +00:00
</page>
2011-02-25 13:07:26 +00:00
<page string= "Description" >
<separator colspan= "4" string= "Description" />
<field name= "note" colspan= "4" nolabel= "1" />
</page>
2011-02-24 13:12:20 +00:00
</notebook>
</form>
</field>
</record>
2011-03-14 08:45:55 +00:00
2011-03-30 08:27:30 +00:00
<record id= "view_hr_payslip_filter" model= "ir.ui.view" >
<field name= "name" > hr.salary.rule.select</field>
<field name= "model" > hr.salary.rule</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Salary Rule" >
<group col= "8" colspan= "4" >
<field name= "name" />
<field name= "condition_range_min" />
</group>
<newline />
<group col= "8" colspan= "4" expand= "0" string= "Group By..." >
<filter string= "Name" icon= "terp-folder-yellow" name= "name" context= "{'group_by':'name'}" />
</group>
</search>
</field>
</record>
2011-02-25 13:07:26 +00:00
<record id= "action_salary_rule_form" model= "ir.actions.act_window" >
<field name= "name" > Salary Rules</field>
<field name= "res_model" > hr.salary.rule</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "hr_salary_rule_tree" />
2011-03-15 13:33:22 +00:00
<field name= "domain" > [('parent_rule_id','=',False)]</field>
2011-02-25 13:07:26 +00:00
</record>
2011-03-14 08:45:55 +00:00
2011-03-07 07:18:29 +00:00
<menuitem id= "menu_action_hr_salary_rule_form" action= "action_salary_rule_form" parent= "payroll_configure" sequence= "12" />
2011-02-25 13:07:26 +00:00
<!-- Salary Head Type -->
<record id= "salary_head_type_tree" model= "ir.ui.view" >
<field name= "name" > salary.head.type.tree</field>
2011-03-02 12:00:23 +00:00
<field name= "model" > hr.salary.head.type</field>
2011-02-25 13:07:26 +00:00
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Salary Head Type" >
<field name= "name" />
2011-03-02 12:00:23 +00:00
<field name= "code" />
2011-02-25 13:07:26 +00:00
</tree>
</field>
</record>
2011-03-14 08:45:55 +00:00
2011-02-25 13:07:26 +00:00
<record id= "salary_head_type_form" model= "ir.ui.view" >
<field name= "name" > salary.head.type.form</field>
2011-03-02 12:00:23 +00:00
<field name= "model" > hr.salary.head.type</field>
2011-02-25 13:07:26 +00:00
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Salary Head Type" >
<field name= "name" />
2011-03-02 12:00:23 +00:00
<field name= "code" />
2011-02-25 13:07:26 +00:00
</form>
</field>
</record>
2011-03-14 08:45:55 +00:00
2011-02-25 13:07:26 +00:00
<record id= "action_salary_head_type" model= "ir.actions.act_window" >
2011-03-07 11:28:17 +00:00
<field name= "name" > Salary Head Types</field>
2011-03-02 12:00:23 +00:00
<field name= "res_model" > hr.salary.head.type</field>
2011-02-24 13:12:20 +00:00
<field name= "view_type" > form</field>
2011-02-25 13:07:26 +00:00
<field name= "view_id" ref= "salary_head_type_tree" />
2011-02-24 13:12:20 +00:00
</record>
2011-03-14 08:45:55 +00:00
2011-03-07 07:18:29 +00:00
<menuitem id= "menu_action_salary_head_type" action= "action_salary_head_type" parent= "payroll_configure" sequence= "10" />
2011-03-14 08:45:55 +00:00
2010-06-05 06:39:12 +00:00
</data>
</openerp>
2010-06-06 16:29:11 +00:00