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 <!-- Contract 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="Slip/Salary Lines" 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)"/>
167 <!-- <field name="condition_id">-->
168 <!-- <form string="Condition">-->
169 <!-- <field name="name"/>-->
170 <!-- <field name="date_start"/>-->
171 <!-- <field name="date_end"/>-->
172 <!-- <field name="state"/>-->
176 <field name="category_id" on_change="onchange_category(category_id)"/>
177 <field name="account_id"/>
185 <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">
186 <field name="name">hr.contract.view.form</field>
187 <field name="model">hr.contract</field>
188 <field name="type">form</field>
189 <field name="arch" type="xml">
190 <form string="Contract">
191 <group colspan="4" col="6">
192 <field name="name" select="1"/>
193 <field name="employee_id" select="1"/>
194 <field name="job_id"/>
196 <field name="wage_type_id" widget="selection"/>
197 <field name="type_id" widget="selection"/>
199 <notebook colspan="4">
200 <page string="Main Data">
201 <group col="2" colspan="2">
202 <separator colspan="2" string="Duration"/>
203 <field name="date_start" select="1"/>
204 <field name="date_end" select="1"/>
205 <field name="working_hours"/>
207 <group col="2" colspan="2">
208 <separator colspan="2" string="Advantages"/>
209 <field name="struct_id" select="1"/>
210 <field name="advantages_net"/>
211 <field name="advantages_gross"/>
212 <field name="advantages" nolabel="1" colspan="2"/>
215 <page string="Work Permit">
216 <group col="2" colspan="2">
217 <separator colspan="2" string="Passport"/>
218 <field name="passport_id"/>
220 <group col="2" colspan="2">
221 <separator colspan="2" string="Valid for"/>
222 <field name="visa_no"/>
223 <field name="permit_no"/>
224 <field name="visa_expire"/>
228 <separator colspan="4" string="Notes"/>
229 <field colspan="4" name="notes" nolabel="1"/>
233 <!-- End Contract View-->
236 <record id="hr_hr_employee_view_form3" model="ir.ui.view">
237 <field name="name">hr.hr.employee.view.form3</field>
238 <field name="model">hr.employee</field>
239 <field name="inherit_id" ref="hr_contract.hr_hr_employee_view_form2"/>
240 <field name="arch" type="xml">
241 <field name="contract_ids" position="replace">
242 <field colspan="4" name="contract_ids" nolabel="1">
243 <tree string="Contracts">
245 <field name="function"/>
246 <field name="date_start"/>
247 <field name="date_end"/>
248 <field name="working_hours_per_day"/>
249 <field name="wage_type_id"/>
252 <form string="Contract">
253 <separator colspan="4" string="Generalities"/>
254 <field colspan="4" name="name" select="1"/>
256 <separator colspan="4" string="Contract Duration"/>
257 <field name="function"/>
258 <field name="working_hours_per_day"/>
259 <field name="working_days_per_week"/>
261 <field name="date_start" select="1"/>
262 <field name="date_end" select="1"/>
263 <separator colspan="4" string="Salary"/>
264 <field name="wage_type_id"/>
266 <separator colspan="4" string="Notes"/>
267 <field colspan="4" name="notes" nolabel="1"/>
268 <separator colspan="4" string="Passport and Visa"/>
269 <field name="permit_no"/>
270 <field name="passport_id"/>
271 <field name="visa_no"/>
272 <field name="visa_expire"/>
279 <record id="hr_hr_employee_view_form4" model="ir.ui.view">
280 <field name="name">hr.hr.employee.view.form4</field>
281 <field name="model">hr.employee</field>
282 <field name="inherit_id" ref="hr_hr_employee_view_form3"/>
283 <field name="arch" type="xml">
284 <page string="Miscelleanous" position="replace">
285 <page string="Miscelleanous / Statutory" position="replace">
286 <group col="2" colspan="2">
287 <separator colspan="2" string="Miscelleanous"/>
288 <field name="manager" select="1"/>
289 <field name="medic_exam" select="1"/>
290 <field name="audiens_num"/>
291 <field name="place_of_birth"/>
292 <field name="marital_status"/>
293 <field name="children"/>
295 <group col="2" colspan="2">
296 <separator colspan="2" string="Statutory Information"/>
297 <field name="pan_no" select="1"/>
298 <field name="esp_account" select="1"/>
299 <field name="pf_account"/>
300 <field name="pg_joining"/>
301 <field name="esi_account"/>
302 <field name="hospital_id"/>
304 <separator colspan="4" string="Special Allowance and Deductions for Employee"/>
305 <field name="line_ids" nolabel="1" colspan="4">
306 <tree string="Slip/Salary Lines" editable="bottom">
307 <field name="sequence"/>
308 <field name="analytic_account_id"/>
311 <field name="amount_type"/>
312 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
313 <field name="condition_id">
314 <form string="Condition">
316 <field name="date_start"/>
317 <field name="date_end"/>
318 <field name="state"/>
322 <field name="category_id" on_change="onchange_category(category_id)"/>
323 <field name="account_id"/>
331 <record id="hr_hr_employee_view_form5" model="ir.ui.view">
332 <field name="name">hr.hr.employee.view.form5</field>
333 <field name="model">hr.employee</field>
334 <field name="inherit_id" ref="hr_hr_employee_view_form4"/>
335 <field name="arch" type="xml">
336 <page string="Miscelleanous / Statutory" position="after">
337 <page string="Accounting Information">
338 <field name="property_bank_account"/>
339 <field name="salary_account"/>
340 <field name="employee_account"/>
341 <field name="analytic_account"/>
342 <field name="slip_ids" colspan="4" nolabel="1"/>
348 <record id="view_employee_form5" model="ir.ui.view">
349 <field name="name">hr.employee.form5</field>
350 <field name="model">hr.employee</field>
351 <field name="type">form</field>
352 <field name="inherit_id" ref="hr.view_employee_form"/>
353 <field name="arch" type="xml">
354 <field name="otherid" position="after">
355 <field name="passport_id"/>
361 Holiday Status inheritancy
363 <record model="ir.ui.view" id="view_holiday_status_form1">
364 <field name="name">hr.holidays.status.inherit</field>
365 <field name="model">hr.holidays.status</field>
366 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
367 <field name="type">form</field>
368 <field name="arch" type="xml">
369 <field name="color_name" position="after">
370 <group col="2" colspan="2">
371 <separator colspan="4" string="Payroll Accounting"/>
372 <field name="company_id" select="2"/>
374 <field name="analytic_account_id"/>
375 <field name="account_id"/>
377 <group col="2" colspan="2">
378 <separator colspan="4" string="Payroll Configurtion"/>
380 <field name="head_id"/>
388 <record id="view_expenses_form" model="ir.ui.view">
389 <field name="name">hr.expense.form</field>
390 <field name="type">form</field>
391 <field name="inherit_id" ref="hr_expense.view_expenses_form"/>
392 <field name="model">hr.expense.expense</field>
393 <field name="arch" type="xml">
394 <field name="ref" position="after">
395 <field name="category_id"/>
400 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
401 <field name="name">hr.payslip.line.tree</field>
402 <field name="model">hr.payslip.line</field>
403 <field name="type">tree</field>
404 <field name="arch" type="xml">
405 <tree string="Slip/Salary Lines" editable="bottom">
406 <field name="sequence"/>
407 <field name="analytic_account_id"/>
410 <field name="amount_type"/>
411 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
412 <field name="total"/>
414 <field name="category_id" on_change="onchange_category(category_id)"/>
415 <field name="account_id"/>
419 <record id="view_hr_payslip_line_form" model="ir.ui.view">
420 <field name="name">hr.payslip.line.form</field>
421 <field name="model">hr.payslip.line</field>
422 <field name="type">form</field>
423 <field name="arch" type="xml">
424 <form string="Payslip Line">
425 <group col="6" colspan="4">
426 <field name="name" colspan="4" select="1"/>
427 <field name="code" select="1"/>
428 <field name="slip_id" select="1"/>
429 <field name="employee_id"/>
430 <field name="function_id"/>
432 <group col="2" colspan="2">
433 <separator colspan="4" string="Calculations"/>
434 <field name="category_id" on_change="onchange_category(category_id)"/>
436 <field name="amount_type"/>
437 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
438 <field name="sequence"/>
440 <group col="2" colspan="2">
441 <separator colspan="4" string="Accounting Informations"/>
442 <field name="account_id"/>
443 <field name="analytic_account_id"/>
444 <separator colspan="4" string="Reambusement Informations"/>
445 <field name="expanse_id"/>
446 <separator colspan="4" string="Company contribution"/>
447 <field name="company_contrib"/>
449 <notebook colspan="4">
450 <page string="Function">
451 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
452 <tree string="Function Arguments" editable="bottom">
454 <field name="sequence"/>
455 <field name="from_val"/>
456 <field name="to_val"/>
457 <field name="amount_type"/>
458 <field name="value"/>
462 <page string="Description">
463 <separator colspan="4" string="Description"/>
464 <field name="note" colspan="4" nolabel="1"/>
471 <record id="view_hr_payslip_tree" model="ir.ui.view">
472 <field name="name">hr.payslip.tree</field>
473 <field name="model">hr.payslip</field>
474 <field name="type">tree</field>
475 <field name="arch" type="xml">
476 <tree string="Payslip">
477 <field name="number"/>
478 <field name="employee_id"/>
481 <field name="grows"/>
483 <field name="state"/>
488 <record id="view_hr_payslip_form" model="ir.ui.view">
489 <field name="name">hr.payslip.form</field>
490 <field name="model">hr.payslip</field>
491 <field name="type">form</field>
492 <field name="arch" type="xml">
493 <form string="Payslip">
494 <group col="6" colspan="4">
495 <field name="employee_id"/>
497 <field name="number" select="1"/>
498 <field name="journal_id"/>
499 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
502 <notebook colspan="4">
503 <page string="Salary Detail">
504 <field name="line_ids" colspan="4" nolabel="1"/>
505 <group col="6" colspan="4">
506 <field name="working_days"/>
507 <field name="holiday_days"/>
508 <field name="worked_days"/>
510 <field name="basic_before_leaves"/>
511 <field name="leaves"/>
512 <field name="basic"/>
514 <field name="allounce"/>
515 <field name="deduction"/>
516 <field name="other_pay"/>
518 <field name="grows"/>
520 <field name="total_pay"/>
523 <page string="Accounting Details">
524 <group col="2" colspan="3">
525 <separator colspan="4" string="Accounting Informations"/>
526 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
527 <tree string="Accounting Vouchers">
528 <field name="sequence"/>
530 <field name="move_id"/>
532 <form string="Accounting Vouchers">
533 <field name="sequence"/>
535 <field name="move_id"/>
539 <group col="2" colspan="1">
540 <separator colspan="4" string="Other Informations"/>
541 <field name="paid" readonly="1"/>
542 <field name="company_id"/>
543 <field name="register_id"/>
544 <field name="deg_id"/>
545 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
547 <separator colspan="4" string="Description"/>
548 <field name="note" colspan="4" nolabel="1"/>
550 <page string="Account Lines">
551 <field name="move_line_ids" colspan="4" nolabel="1"/>
553 <page string="Payment Lines">
554 <field name="move_payment_ids" colspan="4" nolabel="1"/>
557 <group col="9" colspan="4">
558 <field name="state"/>
559 <button string="Compute Sheet" name="compute_sheet" states="new" />
560 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
561 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
562 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
563 <button string="Pay Salary" name="process_sheet" states="confirm"/>
564 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
565 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
570 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
571 <field name="name">Employee Payslip</field>
572 <field name="res_model">hr.payslip</field>
573 <field name="view_type">form</field>
574 <field name="view_id" ref="view_hr_payslip_tree"/>
577 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
581 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
582 <field name="name">hr.payroll.structure.tree</field>
583 <field name="model">hr.payroll.structure</field>
584 <field name="type">tree</field>
585 <field name="arch" type="xml">
586 <tree string="Employee Function">
589 <field name="line_ids"/>
590 <field name="company_id"/>
595 <record id="view_hr_employee_grade_form" model="ir.ui.view">
596 <field name="name">hr.payroll.structure.form</field>
597 <field name="model">hr.payroll.structure</field>
598 <field name="type">form</field>
599 <field name="arch" type="xml">
600 <form string="Employee Function">
601 <group col="6" colspan="4">
602 <field name="name" select="1"/>
603 <field name="code" select="1"/>
604 <field name="account_id" select="1"/>
605 <field name="company_id"/>
607 <notebook colspan="4">
608 <page string="Salary Structure">
609 <field name="line_ids" nolabel="1" colspan="4"/>
611 <page string="Job Profile">
612 <separator colspan="4" string="Job Profile"/>
613 <field name="note" colspan="4" nolabel="1"/>
620 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
621 <field name="name">Employee Functions</field>
622 <field name="res_model">hr.payroll.structure</field>
623 <field name="view_type">form</field>
624 <field name="view_id" ref="view_hr_employee_grade_tree"/>
627 id="menu_hr_employee_function"
628 action="action_view_hr_employee_grade_form"
629 parent="payroll_configure"
632 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
633 <field name="name">hr.allounce.deduction.categoty.form</field>
634 <field name="model">hr.allounce.deduction.categoty</field>
635 <field name="type">form</field>
636 <field name="arch" type="xml">
637 <form string="Allowance / Deduction Category">
638 <group col="6" colspan="6">
639 <field name="name" select="1"/>
640 <field name="code" select="1"/>
641 <field name="type" select="1"/>
642 <group col="2" colspan="4">
643 <separator colspan="4" string="Dynamic Computation"/>
645 <field name="condition"/>
646 <field name="sequence"/>
648 <group col="2" colspan="2">
649 <separator colspan="2" string="Contributions Configuration"/>
650 <field name="contribute"/>
651 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
652 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
653 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
654 <field name="include_in_salary" />
655 <field name="account_id" attrs="{'required': [('contribute','=',True), ('include_in_salary','=',True)]}"/>
658 <notebook colspan="4">
659 <page string="Function" attrs="{'invisible': [('amount_type','!=','func')]}">
660 <field name="line_ids" colspan="4" nolabel="1">
661 <tree string="Function Arguments" editable="bottom">
663 <field name="sequence"/>
664 <field name="from_val"/>
665 <field name="to_val"/>
666 <field name="amount_type"/>
667 <field name="value"/>
671 <page string="Description">
672 <separator colspan="4" string="Description"/>
673 <field name="note" colspan="4" nolabel="1"/>
679 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
680 <field name="name">hr.allounce.deduction.categoty.tree</field>
681 <field name="model">hr.allounce.deduction.categoty</field>
682 <field name="type">tree</field>
683 <field name="arch" type="xml">
684 <tree string="Allowance / Deduction Category">
691 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
692 <field name="name">Allowance/Deduction Heads</field>
693 <field name="res_model">hr.allounce.deduction.categoty</field>
694 <field name="view_type">form</field>
695 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
698 id="menu_hr_allounce_deduction_tree"
699 action="hr_allounce_deduction_tree"
700 parent="payroll_configure"
703 <!-- Contract Form-->
704 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
705 <!-- <field name="name">hr.contract.view.form</field>-->
706 <!-- <field name="model">hr.contract</field>-->
707 <!-- <field name="type">form</field>-->
708 <!-- <field name="arch" type="xml">-->
709 <!-- <form string="Contract">-->
710 <!-- <field name="employee_id"/>-->
711 <!-- <separator colspan="4" string="General Information"/>-->
712 <!-- <field colspan="4" name="name" select="1"/>-->
714 <!-- <separator colspan="4" string="Contract Duration"/>-->
715 <!-- <field name="function"/>-->
716 <!-- <field name="working_hours_per_day"/>-->
717 <!-- <field name="working_days_per_week"/>-->
718 <!-- <field name="date_start" select="1"/>-->
719 <!-- <field name="date_end" select="1"/>-->
721 <!-- <separator colspan="4" string="Salary"/>-->
722 <!-- <field name="wage_type_id"/>-->
723 <!-- <field name="wage"/>-->
725 <!-- <separator colspan="4" string="Notes"/>-->
726 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
728 <!-- <separator colspan="4" string="Passport and Visa"/>-->
729 <!-- <field name="permit_no"/>-->
730 <!-- <field name="passport_id"/>-->
731 <!-- <field name="visa_no"/>-->
732 <!-- <field name="visa_expire"/>-->
736 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
737 <!-- <field name="name">Employee Contract</field>-->
738 <!-- <field name="res_model">hr.contract</field>-->
739 <!-- <field name="view_type">form</field>-->
740 <!-- <field name="view_mode">form,tree</field>-->
743 <!-- action="action_hr_contract" -->
744 <!-- name="Employee Contract" -->
745 <!-- id="hr_menu_contract" -->
746 <!-- parent="payroll_configure"-->
749 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
750 <field name="name">hr.payroll.advice.tree</field>
751 <field name="model">hr.payroll.advice</field>
752 <field name="type">tree</field>
753 <field name="arch" type="xml">
754 <tree string="Bank Advice">
755 <field name="name" select="1"/>
756 <field name="date" select="1"/>
757 <field name="number" select="1"/>
758 <field name="company_id"/>
763 <record id="view_hr_bank_advice_form" model="ir.ui.view">
764 <field name="name">hr.payroll.advice.form</field>
765 <field name="model">hr.payroll.advice</field>
766 <field name="type">form</field>
767 <field name="arch" type="xml">
768 <form string="Bank Advice">
769 <group col="6" colspan="4">
770 <field name="name" colspan="4" select="1"/>
771 <field name="account_id" select="1"/>
773 <field name="date" select="1"/>
774 <field name="number" select="1"/>
775 <field name="register_id"/>
777 <notebook colspan="4">
778 <page string="Paymeny Lines">
779 <field name="line_ids" colspan="4" nolabel="1">
780 <tree string="Payment Lines" editable="bottom">
781 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
783 <field name="amount"/>
784 <field name="bysal"/>
788 <field name="company_id"/>
789 <field name="chaque_nos"/>
791 <page string="Letter Content">
792 <separator colspan="4" string="Letter Details"/>
793 <field name="note" colspan="4" nolabel="1"/>
796 <group col="6" colspan="6">
797 <field name="state"/>
798 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
799 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
800 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
805 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
806 <field name="name">Payment Advice</field>
807 <field name="res_model">hr.payroll.advice</field>
808 <field name="view_type">form</field>
809 <field name="view_mode">tree,form</field>
810 <field name="view_id" ref="view_hr_bank_advice_tree"/>
813 action="action_view_hr_bank_advice_tree"
814 id="hr_menu_payment_advice"
815 parent="menu_hr_root_payroll"
818 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
819 <field name="name">hr.payroll.register.tree</field>
820 <field name="model">hr.payroll.register</field>
821 <field name="type">tree</field>
822 <field name="arch" type="xml">
823 <tree string="Payroll Register">
824 <field name="number"/>
827 <field name="journal_id"/>
828 <field name="bank_journal_id"/>
829 <field name="state"/>
833 <record id="view_hr_payroll_register_form" model="ir.ui.view">
834 <field name="name">hr.payroll.register.form</field>
835 <field name="model">hr.payroll.register</field>
836 <field name="type">form</field>
837 <field name="arch" type="xml">
838 <form string="Payroll Register">
839 <group col="6" colspan="4">
840 <field name="name" select="1"/>
841 <field name="date" select="1"/>
842 <field name="number" select="1"/>
843 <field name="journal_id"/>
844 <field name="bank_journal_id"/>
845 <field name="active"/>
847 <notebook colspan="4">
848 <page string="Payslips">
849 <field name="line_ids" colspan="4" nolabel="1">
850 <tree string="Payslip">
851 <field name="number"/>
852 <field name="employee_id"/>
855 <field name="basic"/>
856 <field name="allounce"/>
857 <field name="grows"/>
858 <field name="deduction"/>
860 <field name="state"/>
863 <group col="2" colspan="2">
864 <separator colspan="4" string="Allowance / Deduction"/>
865 <field name="allounce"/>
866 <field name="deduction"/>
868 <group col="2" colspan="2">
869 <separator colspan="4" string="Salary Information"/>
870 <field name="grows"/>
875 <group col="8" colspan="4">
876 <field name="state"/>
877 <button string="Compute" name="compute_sheet" states="new" type="object"/>
878 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
879 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
880 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
881 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
882 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
883 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
888 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
889 <field name="name">Payroll Register</field>
890 <field name="res_model">hr.payroll.register</field>
891 <field name="view_type">form</field>
892 <field name="view_mode">tree,form</field>
895 action="action_view_hr_payroll_register_form"
896 id="hr_menu_payroll_register"
897 parent="menu_hr_root_payroll"
901 Contribution Register
903 <record id="hr_contibution_register_tree" model="ir.ui.view">
904 <field name="name">hr.contibution.register.tree</field>
905 <field name="model">hr.contibution.register</field>
906 <field name="type">tree</field>
907 <field name="arch" type="xml">
908 <tree string="Contribution Registers">
909 <field name="name" select="1"/>
910 <field name="company_id" select="1"/>
911 <field name="monthly_total_by_emp"/>
912 <field name="monthly_total_by_comp"/>
913 <field name="yearly_total_by_emp"/>
914 <field name="yearly_total_by_comp"/>
918 <record id="hr_contibution_register_form" model="ir.ui.view">
919 <field name="name">hr.contibution.register.form</field>
920 <field name="model">hr.contibution.register</field>
921 <field name="type">form</field>
922 <field name="arch" type="xml">
923 <form string="Contribution">
924 <field name="name" select="1"/>
925 <field name="account_id"/>
926 <field name="analytic_account_id"/>
927 <field name="company_id" select="1"/>
928 <notebook colspan="4">
929 <page string="Contribution Lines">
930 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
931 <tree string="Register Lines" editable="top">
933 <field name="employee_id"/>
934 <field name="period_id"/>
935 <field name="emp_deduction"/>
936 <field name="comp_deduction"/>
937 <field name="total"/>
941 <page string="Description">
942 <separator colspan="4" string="Description"/>
943 <field name="note" colspan="4" nolabel="1"/>
946 <group col="2" colspan="2">
947 <separator colspan="4" string="Year"/>
948 <field name="yearly_total_by_emp"/>
949 <field name="yearly_total_by_comp"/>
951 <group col="2" colspan="2">
952 <separator colspan="2" string="Month"/>
953 <field name="monthly_total_by_emp"/>
954 <field name="monthly_total_by_comp"/>
959 <record id="action_contibution_register_form" model="ir.actions.act_window">
960 <field name="name">Contibution Register</field>
961 <field name="res_model">hr.contibution.register</field>
962 <field name="view_type">form</field>
963 <field name="view_id" ref="hr_contibution_register_tree"/>
966 id="menu_action_hr_contibution_register_form"
967 action="action_contibution_register_form"
968 parent="payroll_configure"
970 <record id="hr_contibution_register_line_form" model="ir.ui.view">
971 <field name="name">hr.contibution.register.line.form</field>
972 <field name="model">hr.contibution.register.line</field>
973 <field name="type">form</field>
974 <field name="arch" type="xml">
975 <form string="Contribution">
978 <field name="employee_id"/>
979 <field name="period_id"/>
980 <field name="emp_deduction"/>
981 <field name="comp_deduction"/>
982 <field name="total"/>
987 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
988 <field name="name">hr.payslip.line.condition.tree</field>
989 <field name="model">hr.payslip.line.condition</field>
990 <field name="type">tree</field>
991 <field name="arch" type="xml">
992 <form string="Condition">
994 <field name="date_start"/>
995 <field name="date_end"/>
996 <field name="state"/>