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="category_id" on_change="onchange_category(category_id)"/>
162 <field name="sequence"/>
166 <field name="amount_type"/>
167 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
168 <field name="account_id"/>
169 <field name="analytic_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"/>
219 <field name="working_days_per_week" select="1"/>
221 <group col="2" colspan="2">
222 <separator colspan="2" string="Advantages"/>
223 <field name="struct_id" select="1"/>
224 <field name="advantages_net"/>
225 <field name="advantages_gross"/>
226 <field name="advantages" nolabel="1" colspan="2"/>
229 <page string="Work Permit">
230 <group col="2" colspan="2">
231 <separator colspan="2" string="Passport"/>
232 <field name="passport_id"/>
234 <group col="2" colspan="2">
235 <separator colspan="2" string="Valid for"/>
236 <field name="visa_no"/>
237 <field name="permit_no"/>
238 <field name="visa_expire"/>
242 <separator colspan="4" string="Notes"/>
243 <field colspan="4" name="notes" nolabel="1"/>
247 <menuitem action="hr_contract.action_hr_contract" id="hr_menu_contract" parent="payroll_configure" name="Contracts" sequence="4"/>
248 <!-- End Contract View-->
250 <!-- Salary structure -->
251 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
252 <field name="name">hr.payroll.structure.tree</field>
253 <field name="model">hr.payroll.structure</field>
254 <field name="type">tree</field>
255 <field name="arch" type="xml">
256 <tree string="Employee Function">
259 <field name="line_ids"/>
260 <field name="company_id"/>
265 <record id="view_hr_employee_grade_form" model="ir.ui.view">
266 <field name="name">hr.payroll.structure.form</field>
267 <field name="model">hr.payroll.structure</field>
268 <field name="type">form</field>
269 <field name="arch" type="xml">
270 <form string="Employee Function">
271 <group col="6" colspan="4">
272 <field name="name" colspan="4" select="1"/>
273 <field name="code" select="1"/>
274 <field name="account_id" select="1"/>
275 <field name="company_id"/>
277 <notebook colspan="4">
278 <page string="Salary Structure">
279 <field name="line_ids" nolabel="1" colspan="4"/>
286 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
287 <field name="name">Salary Structure</field>
288 <field name="res_model">hr.payroll.structure</field>
289 <field name="view_type">form</field>
290 <field name="view_id" ref="view_hr_employee_grade_tree"/>
293 id="menu_hr_employee_function"
294 action="action_view_hr_employee_grade_form"
295 parent="payroll_configure"
297 <!-- End Salary structure -->
299 <!-- Holiday Status -->
300 <record model="ir.ui.view" id="view_holiday_status_form1">
301 <field name="name">hr.holidays.status.inherit</field>
302 <field name="model">hr.holidays.status</field>
303 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
304 <field name="type">form</field>
305 <field name="arch" type="xml">
306 <field name="color_name" position="after">
307 <group col="2" colspan="2">
308 <separator colspan="4" string="Payroll Accounting"/>
309 <field name="company_id" widget="selection" select="2"/>
311 <field name="analytic_account_id"/>
312 <field name="account_id"/>
314 <group col="2" colspan="2">
315 <separator colspan="4" string="Payroll Configurtion"/>
317 <field name="head_id"/>
322 <!-- End Holiday Status -->
324 <!-- Payslip Line -->
325 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
326 <field name="name">hr.payslip.line.tree</field>
327 <field name="model">hr.payslip.line</field>
328 <field name="type">tree</field>
329 <field name="arch" type="xml">
330 <tree string="Salary Structure" editable="bottom">
331 <field name="category_id" on_change="onchange_category(category_id)"/>
332 <field name="sequence"/>
336 <field name="amount_type"/>
337 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
338 <field name="account_id"/>
339 <field name="analytic_account_id"/>
343 <record id="view_hr_payslip_line_form" model="ir.ui.view">
344 <field name="name">hr.payslip.line.form</field>
345 <field name="model">hr.payslip.line</field>
346 <field name="type">form</field>
347 <field name="arch" type="xml">
348 <form string="Payslip Line">
349 <group col="6" colspan="4">
350 <field name="name" colspan="4" select="1"/>
351 <field name="code" select="1"/>
352 <field name="slip_id" select="1"/>
353 <field name="employee_id"/>
354 <field name="function_id"/>
356 <group col="2" colspan="2">
357 <separator colspan="4" string="Calculations"/>
358 <field name="category_id" on_change="onchange_category(category_id)"/>
360 <field name="amount_type"/>
361 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
362 <field name="sequence"/>
364 <group col="2" colspan="2">
365 <separator colspan="4" string="Accounting Informations"/>
366 <field name="account_id"/>
367 <field name="analytic_account_id"/>
368 <separator colspan="4" string="Company contribution"/>
369 <field name="company_contrib"/>
371 <notebook colspan="4">
372 <page string="Function">
373 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
374 <tree string="Function Arguments" editable="bottom">
376 <field name="sequence"/>
377 <field name="from_val"/>
378 <field name="to_val"/>
379 <field name="amount_type"/>
380 <field name="value"/>
384 <page string="Description">
385 <separator colspan="4" string="Description"/>
386 <field name="note" colspan="4" nolabel="1"/>
393 <record id="view_hr_payslip_tree" model="ir.ui.view">
394 <field name="name">hr.payslip.tree</field>
395 <field name="model">hr.payslip</field>
396 <field name="type">tree</field>
397 <field name="arch" type="xml">
398 <tree string="Payslip">
399 <field name="number"/>
400 <field name="employee_id"/>
403 <field name="grows"/>
405 <field name="state"/>
410 <record id="view_hr_payslip_form" model="ir.ui.view">
411 <field name="name">hr.payslip.form</field>
412 <field name="model">hr.payslip</field>
413 <field name="type">form</field>
414 <field name="arch" type="xml">
415 <form string="Payslip">
416 <group col="6" colspan="4">
417 <field name="employee_id"/>
419 <field name="number" select="1"/>
420 <field name="journal_id"/>
421 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
424 <notebook colspan="4">
425 <page string="Salary Detail">
426 <field name="line_ids" colspan="4" nolabel="1">
427 <tree string="Salary Structure" editable="bottom">
428 <field name="category_id" on_change="onchange_category(category_id)"/>
429 <field name="sequence"/>
433 <field name="amount_type"/>
434 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
435 <field name="total"/>
436 <field name="account_id"/>
437 <field name="analytic_account_id"/>
441 <group col="6" colspan="4">
442 <separator string="Computation Overview" colspan="6"/>
443 <field name="working_days"/>
444 <field name="holiday_days"/>
445 <field name="worked_days"/>
447 <field name="basic_before_leaves"/>
448 <field name="leaves"/>
449 <field name="basic"/>
451 <field name="allounce"/>
452 <field name="deduction"/>
453 <field name="other_pay"/>
455 <field name="grows"/>
457 <field name="total_pay"/>
460 <page string="Accounting Details">
461 <group col="2" colspan="3">
462 <separator colspan="4" string="Accounting Informations"/>
463 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
464 <tree string="Accounting Vouchers">
465 <field name="sequence"/>
467 <field name="move_id"/>
469 <form string="Accounting Vouchers">
470 <field name="sequence"/>
472 <field name="move_id"/>
476 <group col="2" colspan="1">
477 <separator colspan="4" string="Other Informations"/>
478 <field name="paid" readonly="1"/>
479 <field name="company_id"/>
480 <field name="register_id"/>
481 <field name="deg_id"/>
482 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
484 <separator colspan="4" string="Description"/>
485 <field name="note" colspan="4" nolabel="1"/>
487 <page string="Account Lines">
488 <field name="move_line_ids" colspan="4" nolabel="1"/>
490 <page string="Payment Lines">
491 <field name="move_payment_ids" colspan="4" nolabel="1"/>
494 <group col="9" colspan="4">
495 <field name="state"/>
496 <button string="Compute Sheet" name="compute_sheet" states="new"/>
497 <button string="Recompute Sheet" name="compute_sheet" type="object" states="draft"/>
498 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
499 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
500 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
501 <button string="Pay Salary" name="process_sheet" states="confirm"/>
502 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
503 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
508 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
509 <field name="name">Employee Payslip</field>
510 <field name="res_model">hr.payslip</field>
511 <field name="view_type">form</field>
512 <field name="view_id" ref="view_hr_payslip_tree"/>
514 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
518 <!-- Payment Heads -->
519 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
520 <field name="name">hr.allounce.deduction.categoty.form</field>
521 <field name="model">hr.allounce.deduction.categoty</field>
522 <field name="type">form</field>
523 <field name="arch" type="xml">
524 <form string="Salary Heads">
525 <group col="6" colspan="6">
526 <field name="name" select="1"/>
527 <field name="code" select="1"/>
528 <field name="type" select="1"/>
530 <group col="4" colspan="4">
531 <separator colspan="2" string="Based on"/>
532 <field name="base" colspan="4" nolabel="1"/>
534 <group col="2" colspan="2">
535 <separator colspan="2" string="Dynamic Computation"/>
536 <field name="condition"/>
537 <field name="sequence"/>
541 <notebook colspan="4">
542 <page string="Contribution">
543 <field name="contribute_ids" colspan="4" nolabel="1" height="300"/>
545 <page string="Description">
546 <field name="note" colspan="4" nolabel="1"/>
552 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
553 <field name="name">hr.allounce.deduction.categoty.tree</field>
554 <field name="model">hr.allounce.deduction.categoty</field>
555 <field name="type">tree</field>
556 <field name="arch" type="xml">
557 <tree string="Salary Heads">
562 <field name="condition"/>
563 <field name="sequence"/>
567 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
568 <field name="name">Salary Heads</field>
569 <field name="res_model">hr.allounce.deduction.categoty</field>
570 <field name="view_type">form</field>
571 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
574 id="menu_hr_allounce_deduction_tree"
575 action="hr_allounce_deduction_tree"
576 parent="payroll_configure"
578 <!-- End Payment Heads -->
580 <!-- Company Contribution -->
581 <record id="hr_company_contribution_form" model="ir.ui.view">
582 <field name="name">company.contribution.form</field>
583 <field name="model">company.contribution</field>
584 <field name="type">form</field>
585 <field name="arch" type="xml">
586 <form string="Company Contribution">
587 <group col="6" colspan="6">
588 <field name="name" select="1"/>
589 <field name="code" select="1"/>
590 <field name="category_id"/>
591 <field name="company_id" select="1"/>
592 <field name="active" select="1"/>
594 <group col="2" colspan="2">
595 <separator colspan="2" string="Contributions"/>
596 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
597 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
598 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
600 <group col="2" colspan="2">
601 <separator colspan="2" string="Accounts"/>
602 <field name="include_in_salary" />
603 <field name="account_id" attrs="{'required': [('include_in_salary','=',True)]}"/>
605 <notebook colspan="4">
606 <page string="Function" attrs="{'readonly': [('amount_type','!=','func')]}">
607 <field name="line_ids" colspan="4" nolabel="1">
608 <tree string="Function Arguments" editable="bottom">
610 <field name="sequence"/>
611 <field name="from_val"/>
612 <field name="to_val"/>
613 <field name="amount_type"/>
614 <field name="value"/>
618 <page string="Description">
619 <field name="note" colspan="4" nolabel="1"/>
625 <record id="hr_company_contribution_tree" model="ir.ui.view">
626 <field name="name">company.contribution.tree</field>
627 <field name="model">company.contribution</field>
628 <field name="type">tree</field>
629 <field name="arch" type="xml">
630 <tree string="Company Contribution">
633 <field name="contribute_per"/>
634 <field name="amount_type"/>
635 <field name="register_id"/>
639 <record id="action_hr_company_contribution_tree" model="ir.actions.act_window">
640 <field name="name">Company Contributions</field>
641 <field name="res_model">company.contribution</field>
642 <field name="view_type">form</field>
643 <field name="view_id" ref="hr_company_contribution_tree"/>
646 id="menu_hr_company_contribution_tree"
647 action="action_hr_company_contribution_tree"
648 parent="payroll_configure"
650 <!-- End Company Contribution -->
652 <!-- Contract Form-->
653 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
654 <!-- <field name="name">hr.contract.view.form</field>-->
655 <!-- <field name="model">hr.contract</field>-->
656 <!-- <field name="type">form</field>-->
657 <!-- <field name="arch" type="xml">-->
658 <!-- <form string="Contract">-->
659 <!-- <field name="employee_id"/>-->
660 <!-- <separator colspan="4" string="General Information"/>-->
661 <!-- <field colspan="4" name="name" select="1"/>-->
663 <!-- <separator colspan="4" string="Contract Duration"/>-->
664 <!-- <field name="function"/>-->
665 <!-- <field name="working_hours_per_day"/>-->
666 <!-- <field name="working_days_per_week"/>-->
667 <!-- <field name="date_start" select="1"/>-->
668 <!-- <field name="date_end" select="1"/>-->
670 <!-- <separator colspan="4" string="Salary"/>-->
671 <!-- <field name="wage_type_id"/>-->
672 <!-- <field name="wage"/>-->
674 <!-- <separator colspan="4" string="Notes"/>-->
675 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
677 <!-- <separator colspan="4" string="Passport and Visa"/>-->
678 <!-- <field name="permit_no"/>-->
679 <!-- <field name="passport_id"/>-->
680 <!-- <field name="visa_no"/>-->
681 <!-- <field name="visa_expire"/>-->
685 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
686 <!-- <field name="name">Employee Contract</field>-->
687 <!-- <field name="res_model">hr.contract</field>-->
688 <!-- <field name="view_type">form</field>-->
689 <!-- <field name="view_mode">form,tree</field>-->
692 <!-- action="action_hr_contract" -->
693 <!-- name="Employee Contract" -->
694 <!-- id="hr_menu_contract" -->
695 <!-- parent="payroll_configure"-->
698 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
699 <field name="name">hr.payroll.advice.tree</field>
700 <field name="model">hr.payroll.advice</field>
701 <field name="type">tree</field>
702 <field name="arch" type="xml">
703 <tree string="Bank Advice">
704 <field name="name" select="1"/>
705 <field name="date" select="1"/>
706 <field name="number" select="1"/>
707 <field name="company_id"/>
712 <record id="view_hr_bank_advice_form" model="ir.ui.view">
713 <field name="name">hr.payroll.advice.form</field>
714 <field name="model">hr.payroll.advice</field>
715 <field name="type">form</field>
716 <field name="arch" type="xml">
717 <form string="Bank Advice">
718 <group col="6" colspan="4">
719 <field name="name" colspan="4" select="1"/>
720 <field name="account_id" select="1"/>
722 <field name="date" select="1"/>
723 <field name="number" select="1"/>
724 <field name="register_id"/>
726 <notebook colspan="4">
727 <page string="Paymeny Lines">
728 <field name="line_ids" colspan="4" nolabel="1">
729 <tree string="Payment Lines" editable="bottom">
730 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
732 <field name="amount"/>
733 <field name="bysal"/>
737 <field name="company_id"/>
738 <field name="chaque_nos"/>
740 <page string="Letter Content">
741 <separator colspan="4" string="Letter Details"/>
742 <field name="note" colspan="4" nolabel="1"/>
745 <group col="6" colspan="6">
746 <field name="state"/>
747 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
748 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
749 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
754 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
755 <field name="name">Payment Advice</field>
756 <field name="res_model">hr.payroll.advice</field>
757 <field name="view_type">form</field>
758 <field name="view_mode">tree,form</field>
759 <field name="view_id" ref="view_hr_bank_advice_tree"/>
762 action="action_view_hr_bank_advice_tree"
763 id="hr_menu_payment_advice"
764 parent="menu_hr_root_payroll"
767 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
768 <field name="name">hr.payroll.register.tree</field>
769 <field name="model">hr.payroll.register</field>
770 <field name="type">tree</field>
771 <field name="arch" type="xml">
772 <tree string="Payroll Register">
773 <field name="number"/>
776 <field name="journal_id"/>
777 <field name="bank_journal_id"/>
778 <field name="state"/>
782 <record id="view_hr_payroll_register_form" model="ir.ui.view">
783 <field name="name">hr.payroll.register.form</field>
784 <field name="model">hr.payroll.register</field>
785 <field name="type">form</field>
786 <field name="arch" type="xml">
787 <form string="Payroll Register">
788 <group col="6" colspan="4">
789 <field name="name" select="1"/>
790 <field name="date" select="1"/>
791 <field name="number" select="1"/>
792 <field name="journal_id"/>
793 <field name="bank_journal_id"/>
794 <field name="active"/>
796 <notebook colspan="4">
797 <page string="Payslips">
798 <field name="line_ids" colspan="4" nolabel="1">
799 <tree string="Payslip">
800 <field name="number"/>
801 <field name="employee_id"/>
804 <field name="basic"/>
805 <field name="allounce"/>
806 <field name="grows"/>
807 <field name="deduction"/>
809 <field name="state"/>
812 <group col="2" colspan="2">
813 <separator colspan="4" string="Allowance / Deduction"/>
814 <field name="allounce"/>
815 <field name="deduction"/>
817 <group col="2" colspan="2">
818 <separator colspan="4" string="Salary Information"/>
819 <field name="grows"/>
824 <group col="8" colspan="4">
825 <field name="state"/>
826 <button string="Compute" name="compute_sheet" states="new" type="object"/>
827 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
828 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
829 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
830 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
831 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
832 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
837 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
838 <field name="name">Payroll Register</field>
839 <field name="res_model">hr.payroll.register</field>
840 <field name="view_type">form</field>
841 <field name="view_mode">tree,form</field>
844 action="action_view_hr_payroll_register_form"
845 id="hr_menu_payroll_register"
846 parent="menu_hr_root_payroll"
850 Contribution Register
852 <record id="hr_contibution_register_tree" model="ir.ui.view">
853 <field name="name">hr.contibution.register.tree</field>
854 <field name="model">hr.contibution.register</field>
855 <field name="type">tree</field>
856 <field name="arch" type="xml">
857 <tree string="Contribution Registers">
858 <field name="name" select="1"/>
859 <field name="company_id" select="1"/>
860 <field name="monthly_total_by_emp"/>
861 <field name="monthly_total_by_comp"/>
862 <field name="yearly_total_by_emp"/>
863 <field name="yearly_total_by_comp"/>
867 <record id="hr_contibution_register_form" model="ir.ui.view">
868 <field name="name">hr.contibution.register.form</field>
869 <field name="model">hr.contibution.register</field>
870 <field name="type">form</field>
871 <field name="arch" type="xml">
872 <form string="Contribution">
873 <field name="name" select="1"/>
874 <field name="account_id"/>
875 <field name="analytic_account_id"/>
876 <field name="company_id" select="1"/>
877 <notebook colspan="4">
878 <page string="Contribution Lines">
879 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
880 <tree string="Register Lines" editable="top">
882 <field name="employee_id"/>
883 <field name="period_id"/>
884 <field name="emp_deduction"/>
885 <field name="comp_deduction"/>
886 <field name="total"/>
890 <page string="Description">
891 <separator colspan="4" string="Description"/>
892 <field name="note" colspan="4" nolabel="1"/>
895 <group col="2" colspan="2">
896 <separator colspan="4" string="Year"/>
897 <field name="yearly_total_by_emp"/>
898 <field name="yearly_total_by_comp"/>
900 <group col="2" colspan="2">
901 <separator colspan="2" string="Month"/>
902 <field name="monthly_total_by_emp"/>
903 <field name="monthly_total_by_comp"/>
908 <record id="action_contibution_register_form" model="ir.actions.act_window">
909 <field name="name">Contibution Register</field>
910 <field name="res_model">hr.contibution.register</field>
911 <field name="view_type">form</field>
912 <field name="view_id" ref="hr_contibution_register_tree"/>
915 id="menu_action_hr_contibution_register_form"
916 action="action_contibution_register_form"
917 parent="payroll_configure"
919 <record id="hr_contibution_register_line_form" model="ir.ui.view">
920 <field name="name">hr.contibution.register.line.form</field>
921 <field name="model">hr.contibution.register.line</field>
922 <field name="type">form</field>
923 <field name="arch" type="xml">
924 <form string="Contribution">
927 <field name="employee_id"/>
928 <field name="period_id"/>
929 <field name="emp_deduction"/>
930 <field name="comp_deduction"/>
931 <field name="total"/>
936 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
937 <field name="name">hr.payslip.line.condition.tree</field>
938 <field name="model">hr.payslip.line.condition</field>
939 <field name="type">tree</field>
940 <field name="arch" type="xml">
941 <form string="Condition">
943 <field name="date_start"/>
944 <field name="date_end"/>
945 <field name="state"/>