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_contract_view_form" model="ir.ui.view">
71 <field name="name">hr.contract.view.form</field>
72 <field name="model">hr.contract</field>
73 <field name="type">form</field>
74 <field name="arch" type="xml">
75 <form string="Contract">
76 <group colspan="3" col="6">
77 <field name="name" select="1"/>
78 <field name="employee_id" select="1"/>
79 <field name="job_id"/>
81 <field name="wage_type_id" widget="selection"/>
82 <field name="type_id" widget="selection"/>
85 <page string="Main Data">
86 <group col="2" colspan="2">
87 <separator colspan="2" string="Duration"/>
88 <field name="date_start" select="1"/>
89 <field name="date_end" select="1"/>
90 <field name="working_hours"/>
92 <group col="2" colspan="2">
93 <separator colspan="2" string="Advantages"/>
94 <field name="struct_id" select="1"/>
95 <field name="advantages_net"/>
96 <field name="advantages_gross"/>
97 <field name="advantages" nolabel="1" colspan="2"/>
99 <separator colspan="4" string="Notes"/>
100 <field colspan="4" name="notes" nolabel="1"/>
102 <page string="Contracts">
109 <!-- End Contract View-->
111 <record id="hr_hr_employee_view_form3" model="ir.ui.view">
112 <field name="name">hr.hr.employee.view.form3</field>
113 <field name="model">hr.employee</field>
114 <field name="inherit_id" ref="hr_contract.hr_hr_employee_view_form2"/>
115 <field name="arch" type="xml">
116 <field name="contract_ids" position="replace">
117 <field colspan="4" name="contract_ids" nolabel="1">
118 <tree string="Contracts">
120 <field name="function"/>
121 <field name="date_start"/>
122 <field name="date_end"/>
123 <field name="working_hours_per_day"/>
124 <field name="wage_type_id"/>
127 <form string="Contract">
128 <separator colspan="4" string="Generalities"/>
129 <field colspan="4" name="name" select="1"/>
131 <separator colspan="4" string="Contract Duration"/>
132 <field name="function"/>
133 <field name="working_hours_per_day"/>
134 <field name="working_days_per_week"/>
136 <field name="date_start" select="1"/>
137 <field name="date_end" select="1"/>
138 <separator colspan="4" string="Salary"/>
139 <field name="wage_type_id"/>
141 <separator colspan="4" string="Notes"/>
142 <field colspan="4" name="notes" nolabel="1"/>
143 <separator colspan="4" string="Passport and Visa"/>
144 <field name="permit_no"/>
145 <field name="passport_id"/>
146 <field name="visa_no"/>
147 <field name="visa_expire"/>
154 <record id="hr_hr_employee_view_form4" model="ir.ui.view">
155 <field name="name">hr.hr.employee.view.form4</field>
156 <field name="model">hr.employee</field>
157 <field name="inherit_id" ref="hr_hr_employee_view_form3"/>
158 <field name="arch" type="xml">
159 <page string="Miscelleanous" position="replace">
160 <page string="Miscelleanous / Statutory" position="replace">
161 <group col="2" colspan="2">
162 <separator colspan="2" string="Miscelleanous"/>
163 <field name="manager" select="1"/>
164 <field name="medic_exam" select="1"/>
165 <field name="audiens_num"/>
166 <field name="place_of_birth"/>
167 <field name="marital_status"/>
168 <field name="children"/>
170 <group col="2" colspan="2">
171 <separator colspan="2" string="Statutory Information"/>
172 <field name="pan_no" select="1"/>
173 <field name="esp_account" select="1"/>
174 <field name="pf_account"/>
175 <field name="pg_joining"/>
176 <field name="esi_account"/>
177 <field name="hospital_id"/>
179 <separator colspan="4" string="Special Allowance and Deductions for Employee"/>
180 <field name="line_ids" nolabel="1" colspan="4">
181 <tree string="Slip/Salary Lines" editable="bottom">
182 <field name="sequence"/>
183 <field name="analytic_account_id"/>
186 <field name="amount_type"/>
187 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
188 <field name="condition_id">
189 <form string="Condition">
191 <field name="date_start"/>
192 <field name="date_end"/>
193 <field name="state"/>
197 <field name="category_id" on_change="onchange_category(category_id)"/>
198 <field name="account_id"/>
206 <record id="hr_hr_employee_view_form5" model="ir.ui.view">
207 <field name="name">hr.hr.employee.view.form5</field>
208 <field name="model">hr.employee</field>
209 <field name="inherit_id" ref="hr_hr_employee_view_form4"/>
210 <field name="arch" type="xml">
211 <page string="Miscelleanous / Statutory" position="after">
212 <page string="Accounting Information">
213 <field name="property_bank_account"/>
214 <field name="salary_account"/>
215 <field name="employee_account"/>
216 <field name="analytic_account"/>
217 <field name="slip_ids" colspan="4" nolabel="1"/>
223 <record id="view_employee_form5" model="ir.ui.view">
224 <field name="name">hr.employee.form5</field>
225 <field name="model">hr.employee</field>
226 <field name="type">form</field>
227 <field name="inherit_id" ref="hr.view_employee_form"/>
228 <field name="arch" type="xml">
229 <field name="otherid" position="after">
230 <field name="passport_id"/>
236 Holiday Status inheritancy
238 <record model="ir.ui.view" id="view_holiday_status_form1">
239 <field name="name">hr.holidays.status.inherit</field>
240 <field name="model">hr.holidays.status</field>
241 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
242 <field name="type">form</field>
243 <field name="arch" type="xml">
244 <field name="color_name" position="after">
245 <group col="2" colspan="2">
246 <separator colspan="4" string="Payroll Accounting"/>
247 <field name="company_id" select="2"/>
249 <field name="analytic_account_id"/>
250 <field name="account_id"/>
252 <group col="2" colspan="2">
253 <separator colspan="4" string="Payroll Configurtion"/>
255 <field name="head_id"/>
263 <record id="view_expenses_form" model="ir.ui.view">
264 <field name="name">hr.expense.form</field>
265 <field name="type">form</field>
266 <field name="inherit_id" ref="hr_expense.view_expenses_form"/>
267 <field name="model">hr.expense.expense</field>
268 <field name="arch" type="xml">
269 <field name="ref" position="after">
270 <field name="category_id"/>
275 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
276 <field name="name">hr.payslip.line.tree</field>
277 <field name="model">hr.payslip.line</field>
278 <field name="type">tree</field>
279 <field name="arch" type="xml">
280 <tree string="Slip/Salary Lines" editable="bottom">
281 <field name="sequence"/>
282 <field name="analytic_account_id"/>
285 <field name="amount_type"/>
286 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
287 <field name="total"/>
289 <field name="category_id" on_change="onchange_category(category_id)"/>
290 <field name="account_id"/>
294 <record id="view_hr_payslip_line_form" model="ir.ui.view">
295 <field name="name">hr.payslip.line.form</field>
296 <field name="model">hr.payslip.line</field>
297 <field name="type">form</field>
298 <field name="arch" type="xml">
299 <form string="Payslip Line">
300 <group col="6" colspan="4">
301 <field name="name" colspan="4" select="1"/>
302 <field name="code" select="1"/>
303 <field name="slip_id" select="1"/>
304 <field name="employee_id"/>
305 <field name="function_id"/>
307 <group col="2" colspan="2">
308 <separator colspan="4" string="Calculations"/>
309 <field name="category_id" on_change="onchange_category(category_id)"/>
311 <field name="amount_type"/>
312 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
313 <field name="sequence"/>
315 <group col="2" colspan="2">
316 <separator colspan="4" string="Accounting Informations"/>
317 <field name="account_id"/>
318 <field name="analytic_account_id"/>
319 <separator colspan="4" string="Reambusement Informations"/>
320 <field name="expanse_id"/>
321 <separator colspan="4" string="Company contribution"/>
322 <field name="company_contrib"/>
324 <notebook colspan="4">
325 <page string="Function">
326 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
327 <tree string="Function Arguments" editable="bottom">
329 <field name="sequence"/>
330 <field name="from_val"/>
331 <field name="to_val"/>
332 <field name="amount_type"/>
333 <field name="value"/>
337 <page string="Description">
338 <separator colspan="4" string="Description"/>
339 <field name="note" colspan="4" nolabel="1"/>
346 <record id="view_hr_payslip_tree" model="ir.ui.view">
347 <field name="name">hr.payslip.tree</field>
348 <field name="model">hr.payslip</field>
349 <field name="type">tree</field>
350 <field name="arch" type="xml">
351 <tree string="Payslip">
352 <field name="number"/>
353 <field name="employee_id"/>
356 <field name="grows"/>
358 <field name="state"/>
363 <record id="view_hr_payslip_form" model="ir.ui.view">
364 <field name="name">hr.payslip.form</field>
365 <field name="model">hr.payslip</field>
366 <field name="type">form</field>
367 <field name="arch" type="xml">
368 <form string="Payslip">
369 <group col="6" colspan="4">
370 <field name="employee_id"/>
372 <field name="number" select="1"/>
373 <field name="journal_id"/>
374 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
377 <notebook colspan="4">
378 <page string="Salary Detail">
379 <field name="line_ids" colspan="4" nolabel="1"/>
380 <group col="6" colspan="4">
381 <field name="working_days"/>
382 <field name="holiday_days"/>
383 <field name="worked_days"/>
385 <field name="basic_before_leaves"/>
386 <field name="leaves"/>
387 <field name="basic"/>
389 <field name="allounce"/>
390 <field name="deduction"/>
391 <field name="other_pay"/>
393 <field name="grows"/>
395 <field name="total_pay"/>
398 <page string="Accounting Details">
399 <group col="2" colspan="3">
400 <separator colspan="4" string="Accounting Informations"/>
401 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
402 <tree string="Accounting Vouchers">
403 <field name="sequence"/>
405 <field name="move_id"/>
407 <form string="Accounting Vouchers">
408 <field name="sequence"/>
410 <field name="move_id"/>
414 <group col="2" colspan="1">
415 <separator colspan="4" string="Other Informations"/>
416 <field name="paid" readonly="1"/>
417 <field name="company_id"/>
418 <field name="register_id"/>
419 <field name="deg_id"/>
420 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
422 <separator colspan="4" string="Description"/>
423 <field name="note" colspan="4" nolabel="1"/>
425 <page string="Account Lines">
426 <field name="move_line_ids" colspan="4" nolabel="1"/>
428 <page string="Payment Lines">
429 <field name="move_payment_ids" colspan="4" nolabel="1"/>
432 <group col="9" colspan="4">
433 <field name="state"/>
434 <button string="Compute Sheet" name="compute_sheet" states="new" />
435 <button string="Verify Sheet" name="verify_sheet" states="draft"/>
436 <button string="Complete HR Checking" name="verify_twice_sheet" states="hr_check"/>
437 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check"/>
438 <button string="Pay Salary" name="process_sheet" states="confirm"/>
439 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
440 <button string="Set to Draft" name="set_to_draft" states="cancel"/>
445 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
446 <field name="name">Employee Payslip</field>
447 <field name="res_model">hr.payslip</field>
448 <field name="view_type">form</field>
449 <field name="view_id" ref="view_hr_payslip_tree"/>
452 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
456 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
457 <field name="name">hr.payroll.structure.tree</field>
458 <field name="model">hr.payroll.structure</field>
459 <field name="type">tree</field>
460 <field name="arch" type="xml">
461 <tree string="Employee Function">
464 <field name="line_ids"/>
465 <field name="company_id"/>
470 <record id="view_hr_employee_grade_form" model="ir.ui.view">
471 <field name="name">hr.payroll.structure.form</field>
472 <field name="model">hr.payroll.structure</field>
473 <field name="type">form</field>
474 <field name="arch" type="xml">
475 <form string="Employee Function">
476 <group col="6" colspan="4">
477 <field name="name" select="1"/>
478 <field name="code" select="1"/>
479 <field name="account_id" select="1"/>
480 <field name="company_id"/>
482 <notebook colspan="4">
483 <page string="Salary Structure">
484 <field name="line_ids" nolabel="1" colspan="4"/>
486 <page string="Job Profile">
487 <separator colspan="4" string="Job Profile"/>
488 <field name="note" colspan="4" nolabel="1"/>
495 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
496 <field name="name">Employee Functions</field>
497 <field name="res_model">hr.payroll.structure</field>
498 <field name="view_type">form</field>
499 <field name="view_id" ref="view_hr_employee_grade_tree"/>
502 id="menu_hr_employee_function"
503 action="action_view_hr_employee_grade_form"
504 parent="payroll_configure"
507 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
508 <field name="name">hr.allounce.deduction.categoty.form</field>
509 <field name="model">hr.allounce.deduction.categoty</field>
510 <field name="type">form</field>
511 <field name="arch" type="xml">
512 <form string="Allowance / Deduction Category">
513 <group col="6" colspan="6">
514 <field name="name" select="1"/>
515 <field name="code" select="1"/>
516 <field name="type" select="1"/>
517 <group col="2" colspan="4">
518 <separator colspan="4" string="Dynamic Computation"/>
520 <field name="condition"/>
521 <field name="sequence"/>
523 <group col="2" colspan="2">
524 <separator colspan="2" string="Contributions Configuration"/>
525 <field name="contribute"/>
526 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
527 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
528 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
529 <field name="include_in_salary" />
530 <field name="account_id" attrs="{'required': [('contribute','=',True), ('include_in_salary','=',True)]}"/>
533 <notebook colspan="4">
534 <page string="Function" attrs="{'invisible': [('amount_type','!=','func')]}">
535 <field name="line_ids" colspan="4" nolabel="1">
536 <tree string="Function Arguments" editable="bottom">
538 <field name="sequence"/>
539 <field name="from_val"/>
540 <field name="to_val"/>
541 <field name="amount_type"/>
542 <field name="value"/>
546 <page string="Description">
547 <separator colspan="4" string="Description"/>
548 <field name="note" colspan="4" nolabel="1"/>
554 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
555 <field name="name">hr.allounce.deduction.categoty.tree</field>
556 <field name="model">hr.allounce.deduction.categoty</field>
557 <field name="type">tree</field>
558 <field name="arch" type="xml">
559 <tree string="Allowance / Deduction Category">
566 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
567 <field name="name">Allowance/Deduction Heads</field>
568 <field name="res_model">hr.allounce.deduction.categoty</field>
569 <field name="view_type">form</field>
570 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
573 id="menu_hr_allounce_deduction_tree"
574 action="hr_allounce_deduction_tree"
575 parent="payroll_configure"
578 <!-- Contract Form-->
579 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
580 <!-- <field name="name">hr.contract.view.form</field>-->
581 <!-- <field name="model">hr.contract</field>-->
582 <!-- <field name="type">form</field>-->
583 <!-- <field name="arch" type="xml">-->
584 <!-- <form string="Contract">-->
585 <!-- <field name="employee_id"/>-->
586 <!-- <separator colspan="4" string="General Information"/>-->
587 <!-- <field colspan="4" name="name" select="1"/>-->
589 <!-- <separator colspan="4" string="Contract Duration"/>-->
590 <!-- <field name="function"/>-->
591 <!-- <field name="working_hours_per_day"/>-->
592 <!-- <field name="working_days_per_week"/>-->
593 <!-- <field name="date_start" select="1"/>-->
594 <!-- <field name="date_end" select="1"/>-->
596 <!-- <separator colspan="4" string="Salary"/>-->
597 <!-- <field name="wage_type_id"/>-->
598 <!-- <field name="wage"/>-->
600 <!-- <separator colspan="4" string="Notes"/>-->
601 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
603 <!-- <separator colspan="4" string="Passport and Visa"/>-->
604 <!-- <field name="permit_no"/>-->
605 <!-- <field name="passport_id"/>-->
606 <!-- <field name="visa_no"/>-->
607 <!-- <field name="visa_expire"/>-->
611 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
612 <!-- <field name="name">Employee Contract</field>-->
613 <!-- <field name="res_model">hr.contract</field>-->
614 <!-- <field name="view_type">form</field>-->
615 <!-- <field name="view_mode">form,tree</field>-->
618 <!-- action="action_hr_contract" -->
619 <!-- name="Employee Contract" -->
620 <!-- id="hr_menu_contract" -->
621 <!-- parent="payroll_configure"-->
624 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
625 <field name="name">hr.payroll.advice.tree</field>
626 <field name="model">hr.payroll.advice</field>
627 <field name="type">tree</field>
628 <field name="arch" type="xml">
629 <tree string="Bank Advice">
630 <field name="name" select="1"/>
631 <field name="date" select="1"/>
632 <field name="number" select="1"/>
633 <field name="company_id"/>
638 <record id="view_hr_bank_advice_form" model="ir.ui.view">
639 <field name="name">hr.payroll.advice.form</field>
640 <field name="model">hr.payroll.advice</field>
641 <field name="type">form</field>
642 <field name="arch" type="xml">
643 <form string="Bank Advice">
644 <group col="6" colspan="4">
645 <field name="name" colspan="4" select="1"/>
646 <field name="account_id" select="1"/>
648 <field name="date" select="1"/>
649 <field name="number" select="1"/>
650 <field name="register_id"/>
652 <notebook colspan="4">
653 <page string="Paymeny Lines">
654 <field name="line_ids" colspan="4" nolabel="1">
655 <tree string="Payment Lines" editable="bottom">
656 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
658 <field name="amount"/>
659 <field name="bysal"/>
663 <field name="company_id"/>
664 <field name="chaque_nos"/>
666 <page string="Letter Content">
667 <separator colspan="4" string="Letter Details"/>
668 <field name="note" colspan="4" nolabel="1"/>
671 <group col="6" colspan="6">
672 <field name="state"/>
673 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
674 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
675 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
680 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
681 <field name="name">Payment Advice</field>
682 <field name="res_model">hr.payroll.advice</field>
683 <field name="view_type">form</field>
684 <field name="view_mode">tree,form</field>
685 <field name="view_id" ref="view_hr_bank_advice_tree"/>
688 action="action_view_hr_bank_advice_tree"
689 id="hr_menu_payment_advice"
690 parent="menu_hr_root_payroll"
693 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
694 <field name="name">hr.payroll.register.tree</field>
695 <field name="model">hr.payroll.register</field>
696 <field name="type">tree</field>
697 <field name="arch" type="xml">
698 <tree string="Payroll Register">
699 <field name="number"/>
702 <field name="journal_id"/>
703 <field name="bank_journal_id"/>
704 <field name="state"/>
708 <record id="view_hr_payroll_register_form" model="ir.ui.view">
709 <field name="name">hr.payroll.register.form</field>
710 <field name="model">hr.payroll.register</field>
711 <field name="type">form</field>
712 <field name="arch" type="xml">
713 <form string="Payroll Register">
714 <group col="6" colspan="4">
715 <field name="name" select="1"/>
716 <field name="date" select="1"/>
717 <field name="number" select="1"/>
718 <field name="journal_id"/>
719 <field name="bank_journal_id"/>
720 <field name="active"/>
722 <notebook colspan="4">
723 <page string="Payslips">
724 <field name="line_ids" colspan="4" nolabel="1">
725 <tree string="Payslip">
726 <field name="number"/>
727 <field name="employee_id"/>
730 <field name="basic"/>
731 <field name="allounce"/>
732 <field name="grows"/>
733 <field name="deduction"/>
735 <field name="state"/>
738 <group col="2" colspan="2">
739 <separator colspan="4" string="Allowance / Deduction"/>
740 <field name="allounce"/>
741 <field name="deduction"/>
743 <group col="2" colspan="2">
744 <separator colspan="4" string="Salary Information"/>
745 <field name="grows"/>
750 <group col="8" colspan="4">
751 <field name="state"/>
752 <button string="Compute" name="compute_sheet" states="new" type="object"/>
753 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
754 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
755 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
756 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
757 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
758 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
763 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
764 <field name="name">Payroll Register</field>
765 <field name="res_model">hr.payroll.register</field>
766 <field name="view_type">form</field>
767 <field name="view_mode">tree,form</field>
770 action="action_view_hr_payroll_register_form"
771 id="hr_menu_payroll_register"
772 parent="menu_hr_root_payroll"
776 Contribution Register
778 <record id="hr_contibution_register_tree" model="ir.ui.view">
779 <field name="name">hr.contibution.register.tree</field>
780 <field name="model">hr.contibution.register</field>
781 <field name="type">tree</field>
782 <field name="arch" type="xml">
783 <tree string="Contribution Registers">
784 <field name="name" select="1"/>
785 <field name="company_id" select="1"/>
786 <field name="monthly_total_by_emp"/>
787 <field name="monthly_total_by_comp"/>
788 <field name="yearly_total_by_emp"/>
789 <field name="yearly_total_by_comp"/>
793 <record id="hr_contibution_register_form" model="ir.ui.view">
794 <field name="name">hr.contibution.register.form</field>
795 <field name="model">hr.contibution.register</field>
796 <field name="type">form</field>
797 <field name="arch" type="xml">
798 <form string="Contribution">
799 <field name="name" select="1"/>
800 <field name="account_id"/>
801 <field name="analytic_account_id"/>
802 <field name="company_id" select="1"/>
803 <notebook colspan="4">
804 <page string="Contribution Lines">
805 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
806 <tree string="Register Lines" editable="top">
808 <field name="employee_id"/>
809 <field name="period_id"/>
810 <field name="emp_deduction"/>
811 <field name="comp_deduction"/>
812 <field name="total"/>
816 <page string="Description">
817 <separator colspan="4" string="Description"/>
818 <field name="note" colspan="4" nolabel="1"/>
821 <group col="2" colspan="2">
822 <separator colspan="4" string="Year"/>
823 <field name="yearly_total_by_emp"/>
824 <field name="yearly_total_by_comp"/>
826 <group col="2" colspan="2">
827 <separator colspan="2" string="Month"/>
828 <field name="monthly_total_by_emp"/>
829 <field name="monthly_total_by_comp"/>
834 <record id="action_contibution_register_form" model="ir.actions.act_window">
835 <field name="name">Contibution Register</field>
836 <field name="res_model">hr.contibution.register</field>
837 <field name="view_type">form</field>
838 <field name="view_id" ref="hr_contibution_register_tree"/>
841 id="menu_action_hr_contibution_register_form"
842 action="action_contibution_register_form"
843 parent="payroll_configure"
845 <record id="hr_contibution_register_line_form" model="ir.ui.view">
846 <field name="name">hr.contibution.register.line.form</field>
847 <field name="model">hr.contibution.register.line</field>
848 <field name="type">form</field>
849 <field name="arch" type="xml">
850 <form string="Contribution">
853 <field name="employee_id"/>
854 <field name="period_id"/>
855 <field name="emp_deduction"/>
856 <field name="comp_deduction"/>
857 <field name="total"/>
862 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
863 <field name="name">hr.payslip.line.condition.tree</field>
864 <field name="model">hr.payslip.line.condition</field>
865 <field name="type">tree</field>
866 <field name="arch" type="xml">
867 <form string="Condition">
869 <field name="date_start"/>
870 <field name="date_end"/>
871 <field name="state"/>