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 <menuitem action="hr_contract.action_hr_contract" id="hr_menu_contract" parent="payroll_configure" name="Contracts" sequence="4"/>
247 <!-- End Contract View-->
250 Holiday Status inheritancy
252 <record model="ir.ui.view" id="view_holiday_status_form1">
253 <field name="name">hr.holidays.status.inherit</field>
254 <field name="model">hr.holidays.status</field>
255 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
256 <field name="type">form</field>
257 <field name="arch" type="xml">
258 <field name="color_name" position="after">
259 <group col="2" colspan="2">
260 <separator colspan="4" string="Payroll Accounting"/>
261 <field name="company_id" widget="selection" select="2"/>
263 <field name="analytic_account_id"/>
264 <field name="account_id"/>
266 <group col="2" colspan="2">
267 <separator colspan="4" string="Payroll Configurtion"/>
269 <field name="head_id"/>
275 <!-- Employee Expanse-->
277 <!-- <record id="view_expenses_form" model="ir.ui.view">-->
278 <!-- <field name="name">hr.expense.form</field>-->
279 <!-- <field name="type">form</field>-->
280 <!-- <field name="inherit_id" ref="hr_expense.view_expenses_form"/>-->
281 <!-- <field name="model">hr.expense.expense</field>-->
282 <!-- <field name="arch" type="xml">-->
283 <!-- <field name="ref" position="after">-->
284 <!-- <field name="category_id"/>-->
290 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
291 <field name="name">hr.payslip.line.tree</field>
292 <field name="model">hr.payslip.line</field>
293 <field name="type">tree</field>
294 <field name="arch" type="xml">
295 <tree string="Salary Structure" editable="bottom">
296 <field name="sequence"/>
297 <field name="analytic_account_id"/>
300 <field name="amount_type"/>
301 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
302 <field name="total"/>
304 <field name="category_id" on_change="onchange_category(category_id)"/>
305 <field name="account_id"/>
309 <record id="view_hr_payslip_line_form" model="ir.ui.view">
310 <field name="name">hr.payslip.line.form</field>
311 <field name="model">hr.payslip.line</field>
312 <field name="type">form</field>
313 <field name="arch" type="xml">
314 <form string="Payslip Line">
315 <group col="6" colspan="4">
316 <field name="name" colspan="4" select="1"/>
317 <field name="code" select="1"/>
318 <field name="slip_id" select="1"/>
319 <field name="employee_id"/>
320 <field name="function_id"/>
322 <group col="2" colspan="2">
323 <separator colspan="4" string="Calculations"/>
324 <field name="category_id" on_change="onchange_category(category_id)"/>
326 <field name="amount_type"/>
327 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
328 <field name="sequence"/>
330 <group col="2" colspan="2">
331 <separator colspan="4" string="Accounting Informations"/>
332 <field name="account_id"/>
333 <field name="analytic_account_id"/>
334 <separator colspan="4" string="Reambusement Informations"/>
335 <field name="expanse_id"/>
336 <separator colspan="4" string="Company contribution"/>
337 <field name="company_contrib"/>
339 <notebook colspan="4">
340 <page string="Function">
341 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
342 <tree string="Function Arguments" editable="bottom">
344 <field name="sequence"/>
345 <field name="from_val"/>
346 <field name="to_val"/>
347 <field name="amount_type"/>
348 <field name="value"/>
352 <page string="Description">
353 <separator colspan="4" string="Description"/>
354 <field name="note" colspan="4" nolabel="1"/>
361 <record id="view_hr_payslip_tree" model="ir.ui.view">
362 <field name="name">hr.payslip.tree</field>
363 <field name="model">hr.payslip</field>
364 <field name="type">tree</field>
365 <field name="arch" type="xml">
366 <tree string="Payslip">
367 <field name="number"/>
368 <field name="employee_id"/>
371 <field name="grows"/>
373 <field name="state"/>
378 <record id="view_hr_payslip_form" model="ir.ui.view">
379 <field name="name">hr.payslip.form</field>
380 <field name="model">hr.payslip</field>
381 <field name="type">form</field>
382 <field name="arch" type="xml">
383 <form string="Payslip">
384 <group col="6" colspan="4">
385 <field name="employee_id"/>
387 <field name="number" select="1"/>
388 <field name="journal_id"/>
389 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
392 <notebook colspan="4">
393 <page string="Salary Detail">
394 <field name="line_ids" colspan="4" nolabel="1"/>
395 <group col="6" colspan="4">
396 <field name="working_days"/>
397 <field name="holiday_days"/>
398 <field name="worked_days"/>
400 <field name="basic_before_leaves"/>
401 <field name="leaves"/>
402 <field name="basic"/>
404 <field name="allounce"/>
405 <field name="deduction"/>
406 <field name="other_pay"/>
408 <field name="grows"/>
410 <field name="total_pay"/>
413 <page string="Accounting Details">
414 <group col="2" colspan="3">
415 <separator colspan="4" string="Accounting Informations"/>
416 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
417 <tree string="Accounting Vouchers">
418 <field name="sequence"/>
420 <field name="move_id"/>
422 <form string="Accounting Vouchers">
423 <field name="sequence"/>
425 <field name="move_id"/>
429 <group col="2" colspan="1">
430 <separator colspan="4" string="Other Informations"/>
431 <field name="paid" readonly="1"/>
432 <field name="company_id"/>
433 <field name="register_id"/>
434 <field name="deg_id"/>
435 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
437 <separator colspan="4" string="Description"/>
438 <field name="note" colspan="4" nolabel="1"/>
440 <page string="Account Lines">
441 <field name="move_line_ids" colspan="4" nolabel="1"/>
443 <page string="Payment Lines">
444 <field name="move_payment_ids" colspan="4" nolabel="1"/>
447 <group col="9" colspan="4">
448 <field name="state"/>
449 <button string="Compute Sheet" name="compute_sheet" states="new" />
450 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
451 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
452 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
453 <button string="Pay Salary" name="process_sheet" states="confirm"/>
454 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
455 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
460 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
461 <field name="name">Employee Payslip</field>
462 <field name="res_model">hr.payslip</field>
463 <field name="view_type">form</field>
464 <field name="view_id" ref="view_hr_payslip_tree"/>
466 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
468 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
469 <field name="name">hr.payroll.structure.tree</field>
470 <field name="model">hr.payroll.structure</field>
471 <field name="type">tree</field>
472 <field name="arch" type="xml">
473 <tree string="Employee Function">
476 <field name="line_ids"/>
477 <field name="company_id"/>
482 <record id="view_hr_employee_grade_form" model="ir.ui.view">
483 <field name="name">hr.payroll.structure.form</field>
484 <field name="model">hr.payroll.structure</field>
485 <field name="type">form</field>
486 <field name="arch" type="xml">
487 <form string="Employee Function">
488 <group col="6" colspan="4">
489 <field name="name" select="1"/>
490 <field name="code" select="1"/>
491 <field name="account_id" select="1"/>
492 <field name="company_id"/>
494 <notebook colspan="4">
495 <page string="Salary Structure">
496 <field name="line_ids" nolabel="1" colspan="4"/>
498 <page string="Job Profile">
499 <separator colspan="4" string="Job Profile"/>
500 <field name="note" colspan="4" nolabel="1"/>
507 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
508 <field name="name">Salary Structure</field>
509 <field name="res_model">hr.payroll.structure</field>
510 <field name="view_type">form</field>
511 <field name="view_id" ref="view_hr_employee_grade_tree"/>
514 id="menu_hr_employee_function"
515 action="action_view_hr_employee_grade_form"
516 parent="payroll_configure"
519 <!-- Payment Heads -->
520 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
521 <field name="name">hr.allounce.deduction.categoty.form</field>
522 <field name="model">hr.allounce.deduction.categoty</field>
523 <field name="type">form</field>
524 <field name="arch" type="xml">
525 <form string="Allowance / Deduction Heads">
526 <group col="6" colspan="6">
527 <field name="name" select="1"/>
528 <field name="code" select="1"/>
529 <field name="type" select="1"/>
530 <group col="2" colspan="4">
531 <separator colspan="4" string="Dynamic Computation"/>
533 <field name="condition"/>
534 <field name="sequence"/>
537 <notebook colspan="4">
538 <page string="Description">
539 <field name="note" colspan="4" nolabel="1"/>
545 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
546 <field name="name">hr.allounce.deduction.categoty.tree</field>
547 <field name="model">hr.allounce.deduction.categoty</field>
548 <field name="type">tree</field>
549 <field name="arch" type="xml">
550 <tree string="Allowance / Deduction Category">
557 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
558 <field name="name">Allowance/Deduction Heads</field>
559 <field name="res_model">hr.allounce.deduction.categoty</field>
560 <field name="view_type">form</field>
561 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
564 id="menu_hr_allounce_deduction_tree"
565 action="hr_allounce_deduction_tree"
566 parent="payroll_configure"
569 <!-- Contract Form-->
570 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
571 <!-- <field name="name">hr.contract.view.form</field>-->
572 <!-- <field name="model">hr.contract</field>-->
573 <!-- <field name="type">form</field>-->
574 <!-- <field name="arch" type="xml">-->
575 <!-- <form string="Contract">-->
576 <!-- <field name="employee_id"/>-->
577 <!-- <separator colspan="4" string="General Information"/>-->
578 <!-- <field colspan="4" name="name" select="1"/>-->
580 <!-- <separator colspan="4" string="Contract Duration"/>-->
581 <!-- <field name="function"/>-->
582 <!-- <field name="working_hours_per_day"/>-->
583 <!-- <field name="working_days_per_week"/>-->
584 <!-- <field name="date_start" select="1"/>-->
585 <!-- <field name="date_end" select="1"/>-->
587 <!-- <separator colspan="4" string="Salary"/>-->
588 <!-- <field name="wage_type_id"/>-->
589 <!-- <field name="wage"/>-->
591 <!-- <separator colspan="4" string="Notes"/>-->
592 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
594 <!-- <separator colspan="4" string="Passport and Visa"/>-->
595 <!-- <field name="permit_no"/>-->
596 <!-- <field name="passport_id"/>-->
597 <!-- <field name="visa_no"/>-->
598 <!-- <field name="visa_expire"/>-->
602 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
603 <!-- <field name="name">Employee Contract</field>-->
604 <!-- <field name="res_model">hr.contract</field>-->
605 <!-- <field name="view_type">form</field>-->
606 <!-- <field name="view_mode">form,tree</field>-->
609 <!-- action="action_hr_contract" -->
610 <!-- name="Employee Contract" -->
611 <!-- id="hr_menu_contract" -->
612 <!-- parent="payroll_configure"-->
615 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
616 <field name="name">hr.payroll.advice.tree</field>
617 <field name="model">hr.payroll.advice</field>
618 <field name="type">tree</field>
619 <field name="arch" type="xml">
620 <tree string="Bank Advice">
621 <field name="name" select="1"/>
622 <field name="date" select="1"/>
623 <field name="number" select="1"/>
624 <field name="company_id"/>
629 <record id="view_hr_bank_advice_form" model="ir.ui.view">
630 <field name="name">hr.payroll.advice.form</field>
631 <field name="model">hr.payroll.advice</field>
632 <field name="type">form</field>
633 <field name="arch" type="xml">
634 <form string="Bank Advice">
635 <group col="6" colspan="4">
636 <field name="name" colspan="4" select="1"/>
637 <field name="account_id" select="1"/>
639 <field name="date" select="1"/>
640 <field name="number" select="1"/>
641 <field name="register_id"/>
643 <notebook colspan="4">
644 <page string="Paymeny Lines">
645 <field name="line_ids" colspan="4" nolabel="1">
646 <tree string="Payment Lines" editable="bottom">
647 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
649 <field name="amount"/>
650 <field name="bysal"/>
654 <field name="company_id"/>
655 <field name="chaque_nos"/>
657 <page string="Letter Content">
658 <separator colspan="4" string="Letter Details"/>
659 <field name="note" colspan="4" nolabel="1"/>
662 <group col="6" colspan="6">
663 <field name="state"/>
664 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
665 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
666 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
671 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
672 <field name="name">Payment Advice</field>
673 <field name="res_model">hr.payroll.advice</field>
674 <field name="view_type">form</field>
675 <field name="view_mode">tree,form</field>
676 <field name="view_id" ref="view_hr_bank_advice_tree"/>
679 action="action_view_hr_bank_advice_tree"
680 id="hr_menu_payment_advice"
681 parent="menu_hr_root_payroll"
684 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
685 <field name="name">hr.payroll.register.tree</field>
686 <field name="model">hr.payroll.register</field>
687 <field name="type">tree</field>
688 <field name="arch" type="xml">
689 <tree string="Payroll Register">
690 <field name="number"/>
693 <field name="journal_id"/>
694 <field name="bank_journal_id"/>
695 <field name="state"/>
699 <record id="view_hr_payroll_register_form" model="ir.ui.view">
700 <field name="name">hr.payroll.register.form</field>
701 <field name="model">hr.payroll.register</field>
702 <field name="type">form</field>
703 <field name="arch" type="xml">
704 <form string="Payroll Register">
705 <group col="6" colspan="4">
706 <field name="name" select="1"/>
707 <field name="date" select="1"/>
708 <field name="number" select="1"/>
709 <field name="journal_id"/>
710 <field name="bank_journal_id"/>
711 <field name="active"/>
713 <notebook colspan="4">
714 <page string="Payslips">
715 <field name="line_ids" colspan="4" nolabel="1">
716 <tree string="Payslip">
717 <field name="number"/>
718 <field name="employee_id"/>
721 <field name="basic"/>
722 <field name="allounce"/>
723 <field name="grows"/>
724 <field name="deduction"/>
726 <field name="state"/>
729 <group col="2" colspan="2">
730 <separator colspan="4" string="Allowance / Deduction"/>
731 <field name="allounce"/>
732 <field name="deduction"/>
734 <group col="2" colspan="2">
735 <separator colspan="4" string="Salary Information"/>
736 <field name="grows"/>
741 <group col="8" colspan="4">
742 <field name="state"/>
743 <button string="Compute" name="compute_sheet" states="new" type="object"/>
744 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
745 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
746 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
747 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
748 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
749 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
754 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
755 <field name="name">Payroll Register</field>
756 <field name="res_model">hr.payroll.register</field>
757 <field name="view_type">form</field>
758 <field name="view_mode">tree,form</field>
761 action="action_view_hr_payroll_register_form"
762 id="hr_menu_payroll_register"
763 parent="menu_hr_root_payroll"
767 Contribution Register
769 <record id="hr_contibution_register_tree" model="ir.ui.view">
770 <field name="name">hr.contibution.register.tree</field>
771 <field name="model">hr.contibution.register</field>
772 <field name="type">tree</field>
773 <field name="arch" type="xml">
774 <tree string="Contribution Registers">
775 <field name="name" select="1"/>
776 <field name="company_id" select="1"/>
777 <field name="monthly_total_by_emp"/>
778 <field name="monthly_total_by_comp"/>
779 <field name="yearly_total_by_emp"/>
780 <field name="yearly_total_by_comp"/>
784 <record id="hr_contibution_register_form" model="ir.ui.view">
785 <field name="name">hr.contibution.register.form</field>
786 <field name="model">hr.contibution.register</field>
787 <field name="type">form</field>
788 <field name="arch" type="xml">
789 <form string="Contribution">
790 <field name="name" select="1"/>
791 <field name="account_id"/>
792 <field name="analytic_account_id"/>
793 <field name="company_id" select="1"/>
794 <notebook colspan="4">
795 <page string="Contribution Lines">
796 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
797 <tree string="Register Lines" editable="top">
799 <field name="employee_id"/>
800 <field name="period_id"/>
801 <field name="emp_deduction"/>
802 <field name="comp_deduction"/>
803 <field name="total"/>
807 <page string="Description">
808 <separator colspan="4" string="Description"/>
809 <field name="note" colspan="4" nolabel="1"/>
812 <group col="2" colspan="2">
813 <separator colspan="4" string="Year"/>
814 <field name="yearly_total_by_emp"/>
815 <field name="yearly_total_by_comp"/>
817 <group col="2" colspan="2">
818 <separator colspan="2" string="Month"/>
819 <field name="monthly_total_by_emp"/>
820 <field name="monthly_total_by_comp"/>
825 <record id="action_contibution_register_form" model="ir.actions.act_window">
826 <field name="name">Contibution Register</field>
827 <field name="res_model">hr.contibution.register</field>
828 <field name="view_type">form</field>
829 <field name="view_id" ref="hr_contibution_register_tree"/>
832 id="menu_action_hr_contibution_register_form"
833 action="action_contibution_register_form"
834 parent="payroll_configure"
836 <record id="hr_contibution_register_line_form" model="ir.ui.view">
837 <field name="name">hr.contibution.register.line.form</field>
838 <field name="model">hr.contibution.register.line</field>
839 <field name="type">form</field>
840 <field name="arch" type="xml">
841 <form string="Contribution">
844 <field name="employee_id"/>
845 <field name="period_id"/>
846 <field name="emp_deduction"/>
847 <field name="comp_deduction"/>
848 <field name="total"/>
853 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
854 <field name="name">hr.payslip.line.condition.tree</field>
855 <field name="model">hr.payslip.line.condition</field>
856 <field name="type">tree</field>
857 <field name="arch" type="xml">
858 <form string="Condition">
860 <field name="date_start"/>
861 <field name="date_end"/>
862 <field name="state"/>