1 <?xml version="1.0" encoding="utf-8"?>
5 <menuitem id="menu_hr_root_payroll" parent="hr.menu_hr_root" name="Payroll"/>
6 <menuitem id="payroll_configure" parent="hr.menu_hr_configuration" name="Payroll"/>
8 <!-- Passport Views -->
9 <record id="hr_passport_form" model="ir.ui.view">
10 <field name="name">hr.passport.form</field>
11 <field name="model">hr.passport</field>
12 <field name="type">form</field>
13 <field name="arch" type="xml">
14 <form string="Passport">
15 <group col="6" colspan="4">
16 <field name="name" select="1" colspan="4"/>
17 <field name="employee_id" select="1"/>
19 <group col="2" colspan="2">
20 <separator string="Country & Address" colspan="4"/>
21 <field name="country_id" select="1"/>
22 <field name="address_id" select="1"/>
24 <group col="2" colspan="2">
25 <separator string="Valid From" colspan="2"/>
26 <field name="date_issue" select="1"/>
27 <field name="date_expire" select="1"/>
29 <notebook colspan="4">
30 <page string="Description">
31 <separator string="Description" colspan="2"/>
32 <field name="note" colspan="4" nolabel="1"/>
34 <page string="Contracts">
35 <field name="contracts_ids" colspan="4" nolabel="1"/>
41 <record id="hr_passport_tree" model="ir.ui.view">
42 <field name="name">hr.passport.tree</field>
43 <field name="model">hr.passport</field>
44 <field name="type">tree</field>
45 <field name="arch" type="xml">
46 <tree string="Passport">
47 <field name="name" select="1"/>
48 <field name="employee_id" select="1"/>
49 <field name="country_id" select="1"/>
50 <field name="date_expire" select="1"/>
51 <field name="date_expire" select="1"/>
55 <record id="action_hr_passport_tree" model="ir.actions.act_window">
56 <field name="name">All Passports</field>
57 <field name="res_model">hr.passport</field>
58 <field name="view_type">form</field>
59 <field name="view_id" ref="hr_passport_tree"/>
61 <menuitem id="passport_configure" parent="hr.menu_hr_configuration" name="Passport"/>
63 id="menu_action_hr_passport_tree"
64 action="action_hr_passport_tree"
65 parent="passport_configure"
67 <!-- End Passport Views -->
69 <!-- Employee View -->
70 <record id="hr_contract.hr_hr_employee_view_form2" model="ir.ui.view">
71 <field name="name">hr.hr.employee.view.form2</field>
72 <field name="model">hr.employee</field>
73 <field name="inherit_id" ref="hr.view_employee_form"/>
74 <field name="arch" type="xml">
75 <notebook position="inside">
76 <page string="Contracts">
77 <field colspan="4" mode="form,tree" name="contract_ids" nolabel="1">
78 <tree string="Contracts">
80 <field name="job_id"/>
81 <field name="date_start"/>
82 <field name="date_end"/>
83 <field name="working_hours"/>
84 <field name="wage_type_id"/>
87 <form string="Contract">
88 <group colspan="4" col="6">
89 <field name="name" select="1"/>
90 <field name="job_id"/>
93 <field name="wage_type_id" widget="selection"/>
94 <field name="type_id" widget="selection"/>
96 <notebook colspan="4">
97 <page string="Main Data">
98 <group col="2" colspan="2">
99 <separator colspan="2" string="Duration"/>
100 <field name="date_start" select="1"/>
101 <field name="date_end" select="1"/>
102 <field name="working_hours"/>
104 <group col="2" colspan="2">
105 <separator colspan="2" string="Advantages"/>
106 <field name="struct_id" select="1"/>
107 <field name="advantages_net"/>
108 <field name="advantages_gross"/>
109 <field name="advantages" nolabel="1" colspan="2"/>
112 <page string="Work Permit">
113 <group col="2" colspan="2">
114 <separator colspan="2" string="Passport"/>
115 <field name="passport_id"/>
117 <group col="2" colspan="2">
118 <separator colspan="2" string="Valid for"/>
119 <field name="visa_no"/>
120 <field name="permit_no"/>
121 <field name="visa_expire"/>
125 <separator colspan="4" string="Notes"/>
126 <field colspan="4" name="notes" nolabel="1"/>
130 <page string="Miscelleanous">
131 <group colspan="2" col="2">
132 <separator string="Personal Info" colspan="2"/>
133 <field name="pan_no" select="1"/>
134 <field name="bank_account"/>
135 <field name="place_of_birth"/>
136 <field name="children"/>
138 <group colspan="2" col="2">
139 <separator string="Job Info" colspan="2"/>
140 <field name="manager" select="1"/>
141 <field name="vehicle" select="1"/>
142 <field name="vehicle_distance" select="1"/>
143 <field name="medic_exam" select="1"/>
145 <group col="2" colspan="2">
146 <separator colspan="2" string="ESI Information"/>
147 <field name="esi_account" string="Account"/>
148 <field name="hospital_id" string="Hospital"/>
149 <field name="medic_exam" select="1" string="Medical Examination"/>
150 <field name="esp_account" select="1"/>
152 <group col="2" colspan="2">
153 <separator colspan="2" string="Providend Fund"/>
154 <field name="pf_account" string="Account"/>
155 <field name="pg_joining" string="Join Date"/>
158 <page string="Salary Structure">
159 <field name="line_ids" nolabel="1" colspan="4" string="Salary Structure">
160 <tree string="Salary Structure" editable="bottom">
161 <field name="sequence"/>
162 <field name="analytic_account_id"/>
165 <field name="amount_type"/>
166 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
168 <field name="category_id" on_change="onchange_category(category_id)"/>
169 <field name="account_id"/>
173 <page string="Accounting">
174 <field name="property_bank_account"/>
175 <field name="salary_account"/>
176 <field name="employee_account"/>
177 <field name="analytic_account"/>
178 <field name="slip_ids" colspan="4" nolabel="1"/>
184 <record id="view_employee_passport_form" model="ir.ui.view">
185 <field name="name">hr.employee.passport.form</field>
186 <field name="model">hr.employee</field>
187 <field name="type">form</field>
188 <field name="inherit_id" ref="hr.view_employee_form"/>
189 <field name="arch" type="xml">
190 <field name="otherid" position="after">
191 <field name="passport_id"/>
195 <!-- End Employee View -->
197 <!-- Contract View -->
198 <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">
199 <field name="name">hr.contract.view.form</field>
200 <field name="model">hr.contract</field>
201 <field name="type">form</field>
202 <field name="arch" type="xml">
203 <form string="Contract">
204 <group colspan="4" col="6">
205 <field name="name" select="1"/>
206 <field name="employee_id" select="1"/>
207 <field name="job_id"/>
209 <field name="wage_type_id" widget="selection"/>
210 <field name="type_id" widget="selection"/>
212 <notebook colspan="4">
213 <page string="Main Data">
214 <group col="2" colspan="2">
215 <separator colspan="2" string="Duration"/>
216 <field name="date_start" select="1"/>
217 <field name="date_end" select="1"/>
218 <field name="working_hours"/>
220 <group col="2" colspan="2">
221 <separator colspan="2" string="Advantages"/>
222 <field name="struct_id" select="1"/>
223 <field name="advantages_net"/>
224 <field name="advantages_gross"/>
225 <field name="advantages" nolabel="1" colspan="2"/>
228 <page string="Work Permit">
229 <group col="2" colspan="2">
230 <separator colspan="2" string="Passport"/>
231 <field name="passport_id"/>
233 <group col="2" colspan="2">
234 <separator colspan="2" string="Valid for"/>
235 <field name="visa_no"/>
236 <field name="permit_no"/>
237 <field name="visa_expire"/>
241 <separator colspan="4" string="Notes"/>
242 <field colspan="4" name="notes" nolabel="1"/>
246 <!-- End Contract View-->
249 <record id="hr_hr_employee_view_form3" model="ir.ui.view">
250 <field name="name">hr.hr.employee.view.form3</field>
251 <field name="model">hr.employee</field>
252 <field name="inherit_id" ref="hr_contract.hr_hr_employee_view_form2"/>
253 <field name="arch" type="xml">
254 <field name="contract_ids" position="replace">
255 <field colspan="4" name="contract_ids" nolabel="1">
256 <tree string="Contracts">
258 <field name="function"/>
259 <field name="date_start"/>
260 <field name="date_end"/>
261 <field name="working_hours_per_day"/>
262 <field name="wage_type_id"/>
265 <form string="Contract">
266 <separator colspan="4" string="Generalities"/>
267 <field colspan="4" name="name" select="1"/>
269 <separator colspan="4" string="Contract Duration"/>
270 <field name="function"/>
271 <field name="working_hours_per_day"/>
272 <field name="working_days_per_week"/>
274 <field name="date_start" select="1"/>
275 <field name="date_end" select="1"/>
276 <separator colspan="4" string="Salary"/>
277 <field name="wage_type_id"/>
279 <separator colspan="4" string="Notes"/>
280 <field colspan="4" name="notes" nolabel="1"/>
281 <separator colspan="4" string="Passport and Visa"/>
282 <field name="permit_no"/>
283 <field name="passport_id"/>
284 <field name="visa_no"/>
285 <field name="visa_expire"/>
292 <record id="hr_hr_employee_view_form4" model="ir.ui.view">
293 <field name="name">hr.hr.employee.view.form4</field>
294 <field name="model">hr.employee</field>
295 <field name="inherit_id" ref="hr_hr_employee_view_form3"/>
296 <field name="arch" type="xml">
297 <page string="Miscelleanous" position="replace">
298 <page string="Miscelleanous / Statutory" position="replace">
299 <group col="2" colspan="2">
300 <separator colspan="2" string="Miscelleanous"/>
301 <field name="manager" select="1"/>
302 <field name="medic_exam" select="1"/>
303 <field name="audiens_num"/>
304 <field name="place_of_birth"/>
305 <field name="marital_status"/>
306 <field name="children"/>
308 <group col="2" colspan="2">
309 <separator colspan="2" string="Statutory Information"/>
310 <field name="pan_no" select="1"/>
311 <field name="esp_account" select="1"/>
312 <field name="pf_account"/>
313 <field name="pg_joining"/>
314 <field name="esi_account"/>
315 <field name="hospital_id"/>
317 <separator colspan="4" string="Special Allowance and Deductions for Employee"/>
318 <field name="line_ids" nolabel="1" colspan="4">
319 <tree string="Salary Structure" editable="bottom">
320 <field name="sequence"/>
321 <field name="analytic_account_id"/>
324 <field name="amount_type"/>
325 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
326 <field name="condition_id">
327 <form string="Condition">
329 <field name="date_start"/>
330 <field name="date_end"/>
331 <field name="state"/>
335 <field name="category_id" on_change="onchange_category(category_id)"/>
336 <field name="account_id"/>
344 <record id="hr_hr_employee_view_form5" model="ir.ui.view">
345 <field name="name">hr.hr.employee.view.form5</field>
346 <field name="model">hr.employee</field>
347 <field name="inherit_id" ref="hr_hr_employee_view_form4"/>
348 <field name="arch" type="xml">
349 <page string="Miscelleanous / Statutory" position="after">
350 <page string="Accounting Information">
351 <field name="property_bank_account"/>
352 <field name="salary_account"/>
353 <field name="employee_account"/>
354 <field name="analytic_account"/>
355 <field name="slip_ids" colspan="4" nolabel="1"/>
361 <record id="view_employee_form5" model="ir.ui.view">
362 <field name="name">hr.employee.form5</field>
363 <field name="model">hr.employee</field>
364 <field name="type">form</field>
365 <field name="inherit_id" ref="hr.view_employee_form"/>
366 <field name="arch" type="xml">
367 <field name="otherid" position="after">
368 <field name="passport_id"/>
374 Holiday Status inheritancy
376 <record model="ir.ui.view" id="view_holiday_status_form1">
377 <field name="name">hr.holidays.status.inherit</field>
378 <field name="model">hr.holidays.status</field>
379 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
380 <field name="type">form</field>
381 <field name="arch" type="xml">
382 <field name="color_name" position="after">
383 <group col="2" colspan="2">
384 <separator colspan="4" string="Payroll Accounting"/>
385 <field name="company_id" select="2"/>
387 <field name="analytic_account_id"/>
388 <field name="account_id"/>
390 <group col="2" colspan="2">
391 <separator colspan="4" string="Payroll Configurtion"/>
393 <field name="head_id"/>
401 <record id="view_expenses_form" model="ir.ui.view">
402 <field name="name">hr.expense.form</field>
403 <field name="type">form</field>
404 <field name="inherit_id" ref="hr_expense.view_expenses_form"/>
405 <field name="model">hr.expense.expense</field>
406 <field name="arch" type="xml">
407 <field name="ref" position="after">
408 <field name="category_id"/>
413 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
414 <field name="name">hr.payslip.line.tree</field>
415 <field name="model">hr.payslip.line</field>
416 <field name="type">tree</field>
417 <field name="arch" type="xml">
418 <tree string="Salary Structure" editable="bottom">
419 <field name="sequence"/>
420 <field name="analytic_account_id"/>
423 <field name="amount_type"/>
424 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
425 <field name="total"/>
427 <field name="category_id" on_change="onchange_category(category_id)"/>
428 <field name="account_id"/>
432 <record id="view_hr_payslip_line_form" model="ir.ui.view">
433 <field name="name">hr.payslip.line.form</field>
434 <field name="model">hr.payslip.line</field>
435 <field name="type">form</field>
436 <field name="arch" type="xml">
437 <form string="Payslip Line">
438 <group col="6" colspan="4">
439 <field name="name" colspan="4" select="1"/>
440 <field name="code" select="1"/>
441 <field name="slip_id" select="1"/>
442 <field name="employee_id"/>
443 <field name="function_id"/>
445 <group col="2" colspan="2">
446 <separator colspan="4" string="Calculations"/>
447 <field name="category_id" on_change="onchange_category(category_id)"/>
449 <field name="amount_type"/>
450 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
451 <field name="sequence"/>
453 <group col="2" colspan="2">
454 <separator colspan="4" string="Accounting Informations"/>
455 <field name="account_id"/>
456 <field name="analytic_account_id"/>
457 <separator colspan="4" string="Reambusement Informations"/>
458 <field name="expanse_id"/>
459 <separator colspan="4" string="Company contribution"/>
460 <field name="company_contrib"/>
462 <notebook colspan="4">
463 <page string="Function">
464 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
465 <tree string="Function Arguments" editable="bottom">
467 <field name="sequence"/>
468 <field name="from_val"/>
469 <field name="to_val"/>
470 <field name="amount_type"/>
471 <field name="value"/>
475 <page string="Description">
476 <separator colspan="4" string="Description"/>
477 <field name="note" colspan="4" nolabel="1"/>
484 <record id="view_hr_payslip_tree" model="ir.ui.view">
485 <field name="name">hr.payslip.tree</field>
486 <field name="model">hr.payslip</field>
487 <field name="type">tree</field>
488 <field name="arch" type="xml">
489 <tree string="Payslip">
490 <field name="number"/>
491 <field name="employee_id"/>
494 <field name="grows"/>
496 <field name="state"/>
501 <record id="view_hr_payslip_form" model="ir.ui.view">
502 <field name="name">hr.payslip.form</field>
503 <field name="model">hr.payslip</field>
504 <field name="type">form</field>
505 <field name="arch" type="xml">
506 <form string="Payslip">
507 <group col="6" colspan="4">
508 <field name="employee_id"/>
510 <field name="number" select="1"/>
511 <field name="journal_id"/>
512 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
515 <notebook colspan="4">
516 <page string="Salary Detail">
517 <field name="line_ids" colspan="4" nolabel="1"/>
518 <group col="6" colspan="4">
519 <field name="working_days"/>
520 <field name="holiday_days"/>
521 <field name="worked_days"/>
523 <field name="basic_before_leaves"/>
524 <field name="leaves"/>
525 <field name="basic"/>
527 <field name="allounce"/>
528 <field name="deduction"/>
529 <field name="other_pay"/>
531 <field name="grows"/>
533 <field name="total_pay"/>
536 <page string="Accounting Details">
537 <group col="2" colspan="3">
538 <separator colspan="4" string="Accounting Informations"/>
539 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
540 <tree string="Accounting Vouchers">
541 <field name="sequence"/>
543 <field name="move_id"/>
545 <form string="Accounting Vouchers">
546 <field name="sequence"/>
548 <field name="move_id"/>
552 <group col="2" colspan="1">
553 <separator colspan="4" string="Other Informations"/>
554 <field name="paid" readonly="1"/>
555 <field name="company_id"/>
556 <field name="register_id"/>
557 <field name="deg_id"/>
558 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
560 <separator colspan="4" string="Description"/>
561 <field name="note" colspan="4" nolabel="1"/>
563 <page string="Account Lines">
564 <field name="move_line_ids" colspan="4" nolabel="1"/>
566 <page string="Payment Lines">
567 <field name="move_payment_ids" colspan="4" nolabel="1"/>
570 <group col="9" colspan="4">
571 <field name="state"/>
572 <button string="Compute Sheet" name="compute_sheet" states="new" />
573 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
574 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
575 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
576 <button string="Pay Salary" name="process_sheet" states="confirm"/>
577 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
578 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
583 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
584 <field name="name">Employee Payslip</field>
585 <field name="res_model">hr.payslip</field>
586 <field name="view_type">form</field>
587 <field name="view_id" ref="view_hr_payslip_tree"/>
590 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
594 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
595 <field name="name">hr.payroll.structure.tree</field>
596 <field name="model">hr.payroll.structure</field>
597 <field name="type">tree</field>
598 <field name="arch" type="xml">
599 <tree string="Employee Function">
602 <field name="line_ids"/>
603 <field name="company_id"/>
608 <record id="view_hr_employee_grade_form" model="ir.ui.view">
609 <field name="name">hr.payroll.structure.form</field>
610 <field name="model">hr.payroll.structure</field>
611 <field name="type">form</field>
612 <field name="arch" type="xml">
613 <form string="Employee Function">
614 <group col="6" colspan="4">
615 <field name="name" select="1"/>
616 <field name="code" select="1"/>
617 <field name="account_id" select="1"/>
618 <field name="company_id"/>
620 <notebook colspan="4">
621 <page string="Salary Structure">
622 <field name="line_ids" nolabel="1" colspan="4"/>
624 <page string="Job Profile">
625 <separator colspan="4" string="Job Profile"/>
626 <field name="note" colspan="4" nolabel="1"/>
633 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
634 <field name="name">Employee Functions</field>
635 <field name="res_model">hr.payroll.structure</field>
636 <field name="view_type">form</field>
637 <field name="view_id" ref="view_hr_employee_grade_tree"/>
640 id="menu_hr_employee_function"
641 action="action_view_hr_employee_grade_form"
642 parent="payroll_configure"
645 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
646 <field name="name">hr.allounce.deduction.categoty.form</field>
647 <field name="model">hr.allounce.deduction.categoty</field>
648 <field name="type">form</field>
649 <field name="arch" type="xml">
650 <form string="Allowance / Deduction Category">
651 <group col="6" colspan="6">
652 <field name="name" select="1"/>
653 <field name="code" select="1"/>
654 <field name="type" select="1"/>
655 <group col="2" colspan="4">
656 <separator colspan="4" string="Dynamic Computation"/>
658 <field name="condition"/>
659 <field name="sequence"/>
661 <group col="2" colspan="2">
662 <separator colspan="2" string="Contributions Configuration"/>
663 <field name="contribute"/>
664 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
665 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
666 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
667 <field name="include_in_salary" />
668 <field name="account_id" attrs="{'required': [('contribute','=',True), ('include_in_salary','=',True)]}"/>
671 <notebook colspan="4">
672 <page string="Function" attrs="{'invisible': [('amount_type','!=','func')]}">
673 <field name="line_ids" colspan="4" nolabel="1">
674 <tree string="Function Arguments" editable="bottom">
676 <field name="sequence"/>
677 <field name="from_val"/>
678 <field name="to_val"/>
679 <field name="amount_type"/>
680 <field name="value"/>
684 <page string="Description">
685 <separator colspan="4" string="Description"/>
686 <field name="note" colspan="4" nolabel="1"/>
692 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
693 <field name="name">hr.allounce.deduction.categoty.tree</field>
694 <field name="model">hr.allounce.deduction.categoty</field>
695 <field name="type">tree</field>
696 <field name="arch" type="xml">
697 <tree string="Allowance / Deduction Category">
704 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
705 <field name="name">Allowance/Deduction Heads</field>
706 <field name="res_model">hr.allounce.deduction.categoty</field>
707 <field name="view_type">form</field>
708 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
711 id="menu_hr_allounce_deduction_tree"
712 action="hr_allounce_deduction_tree"
713 parent="payroll_configure"
716 <!-- Contract Form-->
717 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
718 <!-- <field name="name">hr.contract.view.form</field>-->
719 <!-- <field name="model">hr.contract</field>-->
720 <!-- <field name="type">form</field>-->
721 <!-- <field name="arch" type="xml">-->
722 <!-- <form string="Contract">-->
723 <!-- <field name="employee_id"/>-->
724 <!-- <separator colspan="4" string="General Information"/>-->
725 <!-- <field colspan="4" name="name" select="1"/>-->
727 <!-- <separator colspan="4" string="Contract Duration"/>-->
728 <!-- <field name="function"/>-->
729 <!-- <field name="working_hours_per_day"/>-->
730 <!-- <field name="working_days_per_week"/>-->
731 <!-- <field name="date_start" select="1"/>-->
732 <!-- <field name="date_end" select="1"/>-->
734 <!-- <separator colspan="4" string="Salary"/>-->
735 <!-- <field name="wage_type_id"/>-->
736 <!-- <field name="wage"/>-->
738 <!-- <separator colspan="4" string="Notes"/>-->
739 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
741 <!-- <separator colspan="4" string="Passport and Visa"/>-->
742 <!-- <field name="permit_no"/>-->
743 <!-- <field name="passport_id"/>-->
744 <!-- <field name="visa_no"/>-->
745 <!-- <field name="visa_expire"/>-->
749 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
750 <!-- <field name="name">Employee Contract</field>-->
751 <!-- <field name="res_model">hr.contract</field>-->
752 <!-- <field name="view_type">form</field>-->
753 <!-- <field name="view_mode">form,tree</field>-->
756 <!-- action="action_hr_contract" -->
757 <!-- name="Employee Contract" -->
758 <!-- id="hr_menu_contract" -->
759 <!-- parent="payroll_configure"-->
762 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
763 <field name="name">hr.payroll.advice.tree</field>
764 <field name="model">hr.payroll.advice</field>
765 <field name="type">tree</field>
766 <field name="arch" type="xml">
767 <tree string="Bank Advice">
768 <field name="name" select="1"/>
769 <field name="date" select="1"/>
770 <field name="number" select="1"/>
771 <field name="company_id"/>
776 <record id="view_hr_bank_advice_form" model="ir.ui.view">
777 <field name="name">hr.payroll.advice.form</field>
778 <field name="model">hr.payroll.advice</field>
779 <field name="type">form</field>
780 <field name="arch" type="xml">
781 <form string="Bank Advice">
782 <group col="6" colspan="4">
783 <field name="name" colspan="4" select="1"/>
784 <field name="account_id" select="1"/>
786 <field name="date" select="1"/>
787 <field name="number" select="1"/>
788 <field name="register_id"/>
790 <notebook colspan="4">
791 <page string="Paymeny Lines">
792 <field name="line_ids" colspan="4" nolabel="1">
793 <tree string="Payment Lines" editable="bottom">
794 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
796 <field name="amount"/>
797 <field name="bysal"/>
801 <field name="company_id"/>
802 <field name="chaque_nos"/>
804 <page string="Letter Content">
805 <separator colspan="4" string="Letter Details"/>
806 <field name="note" colspan="4" nolabel="1"/>
809 <group col="6" colspan="6">
810 <field name="state"/>
811 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
812 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
813 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
818 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
819 <field name="name">Payment Advice</field>
820 <field name="res_model">hr.payroll.advice</field>
821 <field name="view_type">form</field>
822 <field name="view_mode">tree,form</field>
823 <field name="view_id" ref="view_hr_bank_advice_tree"/>
826 action="action_view_hr_bank_advice_tree"
827 id="hr_menu_payment_advice"
828 parent="menu_hr_root_payroll"
831 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
832 <field name="name">hr.payroll.register.tree</field>
833 <field name="model">hr.payroll.register</field>
834 <field name="type">tree</field>
835 <field name="arch" type="xml">
836 <tree string="Payroll Register">
837 <field name="number"/>
840 <field name="journal_id"/>
841 <field name="bank_journal_id"/>
842 <field name="state"/>
846 <record id="view_hr_payroll_register_form" model="ir.ui.view">
847 <field name="name">hr.payroll.register.form</field>
848 <field name="model">hr.payroll.register</field>
849 <field name="type">form</field>
850 <field name="arch" type="xml">
851 <form string="Payroll Register">
852 <group col="6" colspan="4">
853 <field name="name" select="1"/>
854 <field name="date" select="1"/>
855 <field name="number" select="1"/>
856 <field name="journal_id"/>
857 <field name="bank_journal_id"/>
858 <field name="active"/>
860 <notebook colspan="4">
861 <page string="Payslips">
862 <field name="line_ids" colspan="4" nolabel="1">
863 <tree string="Payslip">
864 <field name="number"/>
865 <field name="employee_id"/>
868 <field name="basic"/>
869 <field name="allounce"/>
870 <field name="grows"/>
871 <field name="deduction"/>
873 <field name="state"/>
876 <group col="2" colspan="2">
877 <separator colspan="4" string="Allowance / Deduction"/>
878 <field name="allounce"/>
879 <field name="deduction"/>
881 <group col="2" colspan="2">
882 <separator colspan="4" string="Salary Information"/>
883 <field name="grows"/>
888 <group col="8" colspan="4">
889 <field name="state"/>
890 <button string="Compute" name="compute_sheet" states="new" type="object"/>
891 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
892 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
893 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
894 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
895 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
896 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
901 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
902 <field name="name">Payroll Register</field>
903 <field name="res_model">hr.payroll.register</field>
904 <field name="view_type">form</field>
905 <field name="view_mode">tree,form</field>
908 action="action_view_hr_payroll_register_form"
909 id="hr_menu_payroll_register"
910 parent="menu_hr_root_payroll"
914 Contribution Register
916 <record id="hr_contibution_register_tree" model="ir.ui.view">
917 <field name="name">hr.contibution.register.tree</field>
918 <field name="model">hr.contibution.register</field>
919 <field name="type">tree</field>
920 <field name="arch" type="xml">
921 <tree string="Contribution Registers">
922 <field name="name" select="1"/>
923 <field name="company_id" select="1"/>
924 <field name="monthly_total_by_emp"/>
925 <field name="monthly_total_by_comp"/>
926 <field name="yearly_total_by_emp"/>
927 <field name="yearly_total_by_comp"/>
931 <record id="hr_contibution_register_form" model="ir.ui.view">
932 <field name="name">hr.contibution.register.form</field>
933 <field name="model">hr.contibution.register</field>
934 <field name="type">form</field>
935 <field name="arch" type="xml">
936 <form string="Contribution">
937 <field name="name" select="1"/>
938 <field name="account_id"/>
939 <field name="analytic_account_id"/>
940 <field name="company_id" select="1"/>
941 <notebook colspan="4">
942 <page string="Contribution Lines">
943 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
944 <tree string="Register Lines" editable="top">
946 <field name="employee_id"/>
947 <field name="period_id"/>
948 <field name="emp_deduction"/>
949 <field name="comp_deduction"/>
950 <field name="total"/>
954 <page string="Description">
955 <separator colspan="4" string="Description"/>
956 <field name="note" colspan="4" nolabel="1"/>
959 <group col="2" colspan="2">
960 <separator colspan="4" string="Year"/>
961 <field name="yearly_total_by_emp"/>
962 <field name="yearly_total_by_comp"/>
964 <group col="2" colspan="2">
965 <separator colspan="2" string="Month"/>
966 <field name="monthly_total_by_emp"/>
967 <field name="monthly_total_by_comp"/>
972 <record id="action_contibution_register_form" model="ir.actions.act_window">
973 <field name="name">Contibution Register</field>
974 <field name="res_model">hr.contibution.register</field>
975 <field name="view_type">form</field>
976 <field name="view_id" ref="hr_contibution_register_tree"/>
979 id="menu_action_hr_contibution_register_form"
980 action="action_contibution_register_form"
981 parent="payroll_configure"
983 <record id="hr_contibution_register_line_form" model="ir.ui.view">
984 <field name="name">hr.contibution.register.line.form</field>
985 <field name="model">hr.contibution.register.line</field>
986 <field name="type">form</field>
987 <field name="arch" type="xml">
988 <form string="Contribution">
991 <field name="employee_id"/>
992 <field name="period_id"/>
993 <field name="emp_deduction"/>
994 <field name="comp_deduction"/>
995 <field name="total"/>
1000 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
1001 <field name="name">hr.payslip.line.condition.tree</field>
1002 <field name="model">hr.payslip.line.condition</field>
1003 <field name="type">tree</field>
1004 <field name="arch" type="xml">
1005 <form string="Condition">
1006 <field name="name"/>
1007 <field name="date_start"/>
1008 <field name="date_end"/>
1009 <field name="state"/>