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="2">
462 <separator colspan="2" string="Other Informations"/>
463 <field name="paid" readonly="1"/>
464 <field name="company_id"/>
465 <field name="register_id"/>
466 <field name="deg_id"/>
467 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
469 <separator colspan="4" string="Description"/>
470 <field name="note" colspan="4" nolabel="1"/>
473 <group col="9" colspan="4">
474 <field name="state"/>
475 <button string="Compute Sheet" name="compute_sheet" states="new"/>
476 <button string="Recompute Sheet" name="compute_sheet" type="object" states="draft"/>
477 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
478 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
479 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
480 <button string="Pay Salary" name="process_sheet" states="confirm"/>
481 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
482 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
487 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
488 <field name="name">Employee Payslip</field>
489 <field name="res_model">hr.payslip</field>
490 <field name="view_type">form</field>
491 <field name="view_id" ref="view_hr_payslip_tree"/>
493 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
497 <!-- Payment Heads -->
498 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
499 <field name="name">hr.allounce.deduction.categoty.form</field>
500 <field name="model">hr.allounce.deduction.categoty</field>
501 <field name="type">form</field>
502 <field name="arch" type="xml">
503 <form string="Salary Heads">
504 <group col="6" colspan="6">
505 <field name="name" select="1"/>
506 <field name="code" select="1"/>
507 <field name="type" select="1"/>
509 <group col="4" colspan="4">
510 <separator colspan="2" string="Based on"/>
511 <field name="base" colspan="4" nolabel="1"/>
513 <group col="2" colspan="2">
514 <separator colspan="2" string="Dynamic Computation"/>
515 <field name="condition"/>
516 <field name="sequence"/>
520 <notebook colspan="4">
521 <page string="Contribution">
522 <field name="contribute_ids" colspan="4" nolabel="1" height="300"/>
524 <page string="Description">
525 <field name="note" colspan="4" nolabel="1"/>
531 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
532 <field name="name">hr.allounce.deduction.categoty.tree</field>
533 <field name="model">hr.allounce.deduction.categoty</field>
534 <field name="type">tree</field>
535 <field name="arch" type="xml">
536 <tree string="Salary Heads">
541 <field name="condition"/>
542 <field name="sequence"/>
546 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
547 <field name="name">Salary Heads</field>
548 <field name="res_model">hr.allounce.deduction.categoty</field>
549 <field name="view_type">form</field>
550 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
553 id="menu_hr_allounce_deduction_tree"
554 action="hr_allounce_deduction_tree"
555 parent="payroll_configure"
557 <!-- End Payment Heads -->
559 <!-- Company Contribution -->
560 <record id="hr_company_contribution_form" model="ir.ui.view">
561 <field name="name">company.contribution.form</field>
562 <field name="model">company.contribution</field>
563 <field name="type">form</field>
564 <field name="arch" type="xml">
565 <form string="Company Contribution">
566 <group col="6" colspan="6">
567 <field name="name" select="1"/>
568 <field name="code" select="1"/>
569 <field name="category_id"/>
570 <field name="company_id" select="1"/>
571 <field name="active" select="1"/>
573 <group col="2" colspan="2">
574 <separator colspan="2" string="Contributions"/>
575 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
576 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
577 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
579 <group col="2" colspan="2">
580 <separator colspan="2" string="Accounts"/>
581 <field name="include_in_salary" />
582 <field name="account_id" attrs="{'required': [('include_in_salary','=',True)]}"/>
584 <notebook colspan="4">
585 <page string="Function" attrs="{'readonly': [('amount_type','!=','func')]}">
586 <field name="line_ids" colspan="4" nolabel="1">
587 <tree string="Function Arguments" editable="bottom">
589 <field name="sequence"/>
590 <field name="from_val"/>
591 <field name="to_val"/>
592 <field name="amount_type"/>
593 <field name="value"/>
597 <page string="Description">
598 <field name="note" colspan="4" nolabel="1"/>
604 <record id="hr_company_contribution_tree" model="ir.ui.view">
605 <field name="name">company.contribution.tree</field>
606 <field name="model">company.contribution</field>
607 <field name="type">tree</field>
608 <field name="arch" type="xml">
609 <tree string="Company Contribution">
612 <field name="contribute_per"/>
613 <field name="amount_type"/>
614 <field name="register_id"/>
618 <record id="action_hr_company_contribution_tree" model="ir.actions.act_window">
619 <field name="name">Company Contributions</field>
620 <field name="res_model">company.contribution</field>
621 <field name="view_type">form</field>
622 <field name="view_id" ref="hr_company_contribution_tree"/>
625 id="menu_hr_company_contribution_tree"
626 action="action_hr_company_contribution_tree"
627 parent="payroll_configure"
629 <!-- End Company Contribution -->
631 <!-- Contract Form-->
632 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
633 <!-- <field name="name">hr.contract.view.form</field>-->
634 <!-- <field name="model">hr.contract</field>-->
635 <!-- <field name="type">form</field>-->
636 <!-- <field name="arch" type="xml">-->
637 <!-- <form string="Contract">-->
638 <!-- <field name="employee_id"/>-->
639 <!-- <separator colspan="4" string="General Information"/>-->
640 <!-- <field colspan="4" name="name" select="1"/>-->
642 <!-- <separator colspan="4" string="Contract Duration"/>-->
643 <!-- <field name="function"/>-->
644 <!-- <field name="working_hours_per_day"/>-->
645 <!-- <field name="working_days_per_week"/>-->
646 <!-- <field name="date_start" select="1"/>-->
647 <!-- <field name="date_end" select="1"/>-->
649 <!-- <separator colspan="4" string="Salary"/>-->
650 <!-- <field name="wage_type_id"/>-->
651 <!-- <field name="wage"/>-->
653 <!-- <separator colspan="4" string="Notes"/>-->
654 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
656 <!-- <separator colspan="4" string="Passport and Visa"/>-->
657 <!-- <field name="permit_no"/>-->
658 <!-- <field name="passport_id"/>-->
659 <!-- <field name="visa_no"/>-->
660 <!-- <field name="visa_expire"/>-->
664 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
665 <!-- <field name="name">Employee Contract</field>-->
666 <!-- <field name="res_model">hr.contract</field>-->
667 <!-- <field name="view_type">form</field>-->
668 <!-- <field name="view_mode">form,tree</field>-->
671 <!-- action="action_hr_contract" -->
672 <!-- name="Employee Contract" -->
673 <!-- id="hr_menu_contract" -->
674 <!-- parent="payroll_configure"-->
677 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
678 <field name="name">hr.payroll.advice.tree</field>
679 <field name="model">hr.payroll.advice</field>
680 <field name="type">tree</field>
681 <field name="arch" type="xml">
682 <tree string="Bank Advice">
683 <field name="name" select="1"/>
684 <field name="date" select="1"/>
685 <field name="number" select="1"/>
686 <field name="company_id"/>
691 <record id="view_hr_bank_advice_form" model="ir.ui.view">
692 <field name="name">hr.payroll.advice.form</field>
693 <field name="model">hr.payroll.advice</field>
694 <field name="type">form</field>
695 <field name="arch" type="xml">
696 <form string="Bank Advice">
697 <group col="6" colspan="4">
698 <field name="name" colspan="4" select="1"/>
699 <field name="account_id" select="1"/>
701 <field name="date" select="1"/>
702 <field name="number" select="1"/>
703 <field name="register_id"/>
705 <notebook colspan="4">
706 <page string="Paymeny Lines">
707 <field name="line_ids" colspan="4" nolabel="1">
708 <tree string="Payment Lines" editable="bottom">
709 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
711 <field name="amount"/>
712 <field name="bysal"/>
716 <field name="company_id"/>
717 <field name="chaque_nos"/>
719 <page string="Letter Content">
720 <separator colspan="4" string="Letter Details"/>
721 <field name="note" colspan="4" nolabel="1"/>
724 <group col="6" colspan="6">
725 <field name="state"/>
726 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
727 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
728 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
733 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
734 <field name="name">Payment Advice</field>
735 <field name="res_model">hr.payroll.advice</field>
736 <field name="view_type">form</field>
737 <field name="view_mode">tree,form</field>
738 <field name="view_id" ref="view_hr_bank_advice_tree"/>
741 action="action_view_hr_bank_advice_tree"
742 id="hr_menu_payment_advice"
743 parent="menu_hr_root_payroll"
746 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
747 <field name="name">hr.payroll.register.tree</field>
748 <field name="model">hr.payroll.register</field>
749 <field name="type">tree</field>
750 <field name="arch" type="xml">
751 <tree string="Payroll Register">
752 <field name="number"/>
755 <field name="journal_id"/>
756 <field name="bank_journal_id"/>
757 <field name="state"/>
761 <record id="view_hr_payroll_register_form" model="ir.ui.view">
762 <field name="name">hr.payroll.register.form</field>
763 <field name="model">hr.payroll.register</field>
764 <field name="type">form</field>
765 <field name="arch" type="xml">
766 <form string="Payroll Register">
767 <group col="6" colspan="4">
768 <field name="name" select="1"/>
769 <field name="date" select="1"/>
770 <field name="number" select="1"/>
771 <field name="journal_id"/>
772 <field name="bank_journal_id"/>
773 <field name="active"/>
775 <notebook colspan="4">
776 <page string="Payslips">
777 <field name="line_ids" colspan="4" nolabel="1">
778 <tree string="Payslip">
779 <field name="number"/>
780 <field name="employee_id"/>
783 <field name="basic"/>
784 <field name="allounce"/>
785 <field name="grows"/>
786 <field name="deduction"/>
788 <field name="state"/>
791 <group col="2" colspan="2">
792 <separator colspan="4" string="Allowance / Deduction"/>
793 <field name="allounce"/>
794 <field name="deduction"/>
796 <group col="2" colspan="2">
797 <separator colspan="4" string="Salary Information"/>
798 <field name="grows"/>
803 <group col="8" colspan="4">
804 <field name="state"/>
805 <button string="Compute" name="compute_sheet" states="new" type="object"/>
806 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
807 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
808 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
809 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
810 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
811 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
816 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
817 <field name="name">Payroll Register</field>
818 <field name="res_model">hr.payroll.register</field>
819 <field name="view_type">form</field>
820 <field name="view_mode">tree,form</field>
823 action="action_view_hr_payroll_register_form"
824 id="hr_menu_payroll_register"
825 parent="menu_hr_root_payroll"
829 Contribution Register
831 <record id="hr_contibution_register_tree" model="ir.ui.view">
832 <field name="name">hr.contibution.register.tree</field>
833 <field name="model">hr.contibution.register</field>
834 <field name="type">tree</field>
835 <field name="arch" type="xml">
836 <tree string="Contribution Registers">
837 <field name="name" select="1"/>
838 <field name="company_id" select="1"/>
839 <field name="monthly_total_by_emp"/>
840 <field name="monthly_total_by_comp"/>
841 <field name="yearly_total_by_emp"/>
842 <field name="yearly_total_by_comp"/>
846 <record id="hr_contibution_register_form" model="ir.ui.view">
847 <field name="name">hr.contibution.register.form</field>
848 <field name="model">hr.contibution.register</field>
849 <field name="type">form</field>
850 <field name="arch" type="xml">
851 <form string="Contribution">
852 <field name="name" select="1"/>
853 <field name="account_id"/>
854 <field name="analytic_account_id"/>
855 <field name="company_id" select="1"/>
856 <notebook colspan="4">
857 <page string="Contribution Lines">
858 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
859 <tree string="Register Lines" editable="top">
861 <field name="employee_id"/>
862 <field name="period_id"/>
863 <field name="emp_deduction"/>
864 <field name="comp_deduction"/>
865 <field name="total"/>
869 <page string="Description">
870 <separator colspan="4" string="Description"/>
871 <field name="note" colspan="4" nolabel="1"/>
874 <group col="2" colspan="2">
875 <separator colspan="4" string="Year"/>
876 <field name="yearly_total_by_emp"/>
877 <field name="yearly_total_by_comp"/>
879 <group col="2" colspan="2">
880 <separator colspan="2" string="Month"/>
881 <field name="monthly_total_by_emp"/>
882 <field name="monthly_total_by_comp"/>
887 <record id="action_contibution_register_form" model="ir.actions.act_window">
888 <field name="name">Contibution Register</field>
889 <field name="res_model">hr.contibution.register</field>
890 <field name="view_type">form</field>
891 <field name="view_id" ref="hr_contibution_register_tree"/>
894 id="menu_action_hr_contibution_register_form"
895 action="action_contibution_register_form"
896 parent="payroll_configure"
898 <record id="hr_contibution_register_line_form" model="ir.ui.view">
899 <field name="name">hr.contibution.register.line.form</field>
900 <field name="model">hr.contibution.register.line</field>
901 <field name="type">form</field>
902 <field name="arch" type="xml">
903 <form string="Contribution">
906 <field name="employee_id"/>
907 <field name="period_id"/>
908 <field name="emp_deduction"/>
909 <field name="comp_deduction"/>
910 <field name="total"/>
915 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
916 <field name="name">hr.payslip.line.condition.tree</field>
917 <field name="model">hr.payslip.line.condition</field>
918 <field name="type">tree</field>
919 <field name="arch" type="xml">
920 <form string="Condition">
922 <field name="date_start"/>
923 <field name="date_end"/>
924 <field name="state"/>