1 <?xml version="1.0" encoding="utf-8"?>
5 <menuitem id="menu_hr_root_payroll" parent="hr.menu_hr_root" name="Payroll"/>
6 <menuitem id="payroll_configure" parent="hr.menu_hr_configuration" name="Payroll"/>
8 <!-- Passport Views -->
9 <record id="hr_passport_form" model="ir.ui.view">
10 <field name="name">hr.passport.form</field>
11 <field name="model">hr.passport</field>
12 <field name="type">form</field>
13 <field name="arch" type="xml">
14 <form string="Passport">
15 <group col="6" colspan="4">
16 <field name="name" select="1" colspan="4"/>
17 <field name="employee_id" select="1"/>
19 <group col="2" colspan="2">
20 <separator string="Country & Address" colspan="4"/>
21 <field name="country_id" select="1"/>
22 <field name="address_id" select="1"/>
24 <group col="2" colspan="2">
25 <separator string="Valid From" colspan="2"/>
26 <field name="date_issue" select="1"/>
27 <field name="date_expire" select="1"/>
29 <notebook colspan="4">
30 <page string="Description">
31 <separator string="Description" colspan="2"/>
32 <field name="note" colspan="4" nolabel="1"/>
34 <page string="Contracts">
35 <field name="contracts_ids" colspan="4" nolabel="1"/>
41 <record id="hr_passport_tree" model="ir.ui.view">
42 <field name="name">hr.passport.tree</field>
43 <field name="model">hr.passport</field>
44 <field name="type">tree</field>
45 <field name="arch" type="xml">
46 <tree string="Passport">
47 <field name="name" select="1"/>
48 <field name="employee_id" select="1"/>
49 <field name="country_id" select="1"/>
50 <field name="date_expire" select="1"/>
51 <field name="date_expire" select="1"/>
55 <record id="action_hr_passport_tree" model="ir.actions.act_window">
56 <field name="name">All Passports</field>
57 <field name="res_model">hr.passport</field>
58 <field name="view_type">form</field>
59 <field name="view_id" ref="hr_passport_tree"/>
61 <menuitem id="passport_configure" parent="hr.menu_hr_configuration" name="Passport"/>
63 id="menu_action_hr_passport_tree"
64 action="action_hr_passport_tree"
65 parent="passport_configure"
67 <!-- End Passport Views -->
69 <!-- Employee View -->
70 <record id="hr_contract.hr_hr_employee_view_form2" model="ir.ui.view">
71 <field name="name">hr.hr.employee.view.form2</field>
72 <field name="model">hr.employee</field>
73 <field name="inherit_id" ref="hr.view_employee_form"/>
74 <field name="arch" type="xml">
75 <notebook position="inside">
76 <page string="Contracts">
77 <field colspan="4" mode="form,tree" name="contract_ids" nolabel="1">
78 <tree string="Contracts">
80 <field name="job_id"/>
81 <field name="date_start"/>
82 <field name="date_end"/>
83 <field name="working_hours"/>
84 <field name="wage_type_id"/>
87 <form string="Contract">
88 <group colspan="4" col="6">
89 <field name="name" select="1"/>
90 <field name="job_id"/>
93 <field name="wage_type_id" widget="selection"/>
94 <field name="type_id" widget="selection"/>
96 <notebook colspan="4">
97 <page string="Main Data">
98 <group col="2" colspan="2">
99 <separator colspan="2" string="Duration"/>
100 <field name="date_start" select="1"/>
101 <field name="date_end" select="1"/>
102 <field name="working_hours"/>
104 <group col="2" colspan="2">
105 <separator colspan="2" string="Advantages"/>
106 <field name="struct_id" select="1"/>
107 <field name="advantages_net"/>
108 <field name="advantages_gross"/>
109 <field name="advantages" nolabel="1" colspan="2"/>
112 <page string="Work Permit">
113 <group col="2" colspan="2">
114 <separator colspan="2" string="Passport"/>
115 <field name="passport_id"/>
117 <group col="2" colspan="2">
118 <separator colspan="2" string="Valid for"/>
119 <field name="visa_no"/>
120 <field name="permit_no"/>
121 <field name="visa_expire"/>
125 <separator colspan="4" string="Notes"/>
126 <field colspan="4" name="notes" nolabel="1"/>
130 <page string="Miscelleanous">
131 <group colspan="2" col="2">
132 <separator string="Personal Info" colspan="2"/>
133 <field name="pan_no" select="1"/>
134 <field name="bank_account"/>
135 <field name="place_of_birth"/>
136 <field name="children"/>
138 <group colspan="2" col="2">
139 <separator string="Job Info" colspan="2"/>
140 <field name="manager" select="1"/>
141 <field name="vehicle" select="1"/>
142 <field name="vehicle_distance" select="1"/>
143 <field name="medic_exam" select="1"/>
145 <group col="2" colspan="2">
146 <separator colspan="2" string="ESI Information"/>
147 <field name="esi_account" string="Account"/>
148 <field name="hospital_id" string="Hospital"/>
149 <field name="medic_exam" select="1" string="Medical Examination"/>
150 <field name="esp_account" select="1"/>
152 <group col="2" colspan="2">
153 <separator colspan="2" string="Providend Fund"/>
154 <field name="pf_account" string="Account"/>
155 <field name="pg_joining" string="Join Date"/>
158 <page string="Salary Structure">
159 <field name="line_ids" nolabel="1" colspan="4" string="Salary Structure">
160 <tree string="Salary Structure" editable="bottom">
161 <field name="category_id" on_change="onchange_category(category_id)"/>
162 <field name="sequence"/>
166 <field name="amount_type"/>
167 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
168 <field name="account_id"/>
169 <field name="analytic_account_id"/>
173 <page string="Accounting">
174 <field name="property_bank_account"/>
175 <field name="salary_account"/>
176 <field name="employee_account"/>
177 <field name="analytic_account"/>
178 <field name="slip_ids" colspan="4" nolabel="1"/>
184 <record id="view_employee_passport_form" model="ir.ui.view">
185 <field name="name">hr.employee.passport.form</field>
186 <field name="model">hr.employee</field>
187 <field name="type">form</field>
188 <field name="inherit_id" ref="hr.view_employee_form"/>
189 <field name="arch" type="xml">
190 <field name="otherid" position="after">
191 <field name="passport_id"/>
195 <!-- End Employee View -->
197 <!-- Contract View -->
198 <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">
199 <field name="name">hr.contract.view.form</field>
200 <field name="model">hr.contract</field>
201 <field name="type">form</field>
202 <field name="arch" type="xml">
203 <form string="Contract">
204 <group colspan="4" col="6">
205 <field name="name" select="1"/>
206 <field name="employee_id" select="1"/>
207 <field name="job_id"/>
209 <field name="wage_type_id" widget="selection"/>
210 <field name="type_id" widget="selection"/>
212 <notebook colspan="4">
213 <page string="Main Data">
214 <group col="2" colspan="2">
215 <separator colspan="2" string="Duration"/>
216 <field name="date_start" select="1"/>
217 <field name="date_end" select="1"/>
218 <field name="working_hours"/>
219 <field name="working_days_per_week" select="1"/>
221 <group col="2" colspan="2">
222 <separator colspan="2" string="Advantages"/>
223 <field name="struct_id" select="1"/>
224 <field name="advantages_net"/>
225 <field name="advantages_gross"/>
226 <field name="advantages" nolabel="1" colspan="2"/>
229 <page string="Work Permit">
230 <group col="2" colspan="2">
231 <separator colspan="2" string="Passport"/>
232 <field name="passport_id"/>
234 <group col="2" colspan="2">
235 <separator colspan="2" string="Valid for"/>
236 <field name="visa_no"/>
237 <field name="permit_no"/>
238 <field name="visa_expire"/>
242 <separator colspan="4" string="Notes"/>
243 <field colspan="4" name="notes" nolabel="1"/>
247 <menuitem action="hr_contract.action_hr_contract" id="hr_menu_contract" parent="payroll_configure" name="Contracts" sequence="4"/>
248 <!-- End Contract View-->
250 <!-- Salary structure -->
251 <record id="view_hr_employee_grade_tree" model="ir.ui.view">
252 <field name="name">hr.payroll.structure.tree</field>
253 <field name="model">hr.payroll.structure</field>
254 <field name="type">tree</field>
255 <field name="arch" type="xml">
256 <tree string="Employee Function">
259 <field name="line_ids"/>
260 <field name="company_id"/>
265 <record id="view_hr_employee_grade_form" model="ir.ui.view">
266 <field name="name">hr.payroll.structure.form</field>
267 <field name="model">hr.payroll.structure</field>
268 <field name="type">form</field>
269 <field name="arch" type="xml">
270 <form string="Employee Function">
271 <group col="6" colspan="4">
272 <field name="name" colspan="4" select="1"/>
273 <field name="code" select="1"/>
274 <field name="account_id" select="1"/>
275 <field name="company_id"/>
277 <notebook colspan="4">
278 <page string="Salary Structure">
279 <field name="line_ids" nolabel="1" colspan="4"/>
286 <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
287 <field name="name">Salary Structure</field>
288 <field name="res_model">hr.payroll.structure</field>
289 <field name="view_type">form</field>
290 <field name="view_id" ref="view_hr_employee_grade_tree"/>
293 id="menu_hr_employee_function"
294 action="action_view_hr_employee_grade_form"
295 parent="payroll_configure"
297 <!-- End Salary structure -->
299 <!-- Holiday Status -->
300 <record model="ir.ui.view" id="view_holiday_status_form1">
301 <field name="name">hr.holidays.status.inherit</field>
302 <field name="model">hr.holidays.status</field>
303 <field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
304 <field name="type">form</field>
305 <field name="arch" type="xml">
306 <field name="color_name" position="after">
307 <group col="2" colspan="2">
308 <separator colspan="4" string="Payroll Accounting"/>
309 <field name="company_id" widget="selection" select="2"/>
311 <field name="analytic_account_id"/>
312 <field name="account_id"/>
314 <group col="2" colspan="2">
315 <separator colspan="4" string="Payroll Configurtion"/>
317 <field name="head_id"/>
322 <!-- End Holiday Status -->
324 <!-- Payslip Line -->
325 <record id="view_hr_payslip_line_tree" model="ir.ui.view">
326 <field name="name">hr.payslip.line.tree</field>
327 <field name="model">hr.payslip.line</field>
328 <field name="type">tree</field>
329 <field name="arch" type="xml">
330 <tree string="Salary Structure" editable="bottom">
331 <field name="category_id" on_change="onchange_category(category_id)"/>
332 <field name="sequence"/>
336 <field name="amount_type"/>
337 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
338 <field name="account_id"/>
339 <field name="analytic_account_id"/>
343 <record id="view_hr_payslip_line_form" model="ir.ui.view">
344 <field name="name">hr.payslip.line.form</field>
345 <field name="model">hr.payslip.line</field>
346 <field name="type">form</field>
347 <field name="arch" type="xml">
348 <form string="Payslip Line">
349 <group col="6" colspan="4">
350 <field name="name" colspan="4" select="1"/>
351 <field name="code" select="1"/>
352 <field name="slip_id" select="1"/>
353 <field name="employee_id"/>
354 <field name="function_id"/>
356 <group col="2" colspan="2">
357 <separator colspan="4" string="Calculations"/>
358 <field name="category_id" on_change="onchange_category(category_id)"/>
360 <field name="amount_type"/>
361 <field name="amount" on_change="onchange_amount(amount, amount_type)" attrs="{'readonly':[('amount_type','=','func')]}"/>
362 <field name="sequence"/>
364 <group col="2" colspan="2">
365 <separator colspan="4" string="Accounting Informations"/>
366 <field name="account_id"/>
367 <field name="analytic_account_id"/>
368 <separator colspan="4" string="Company contribution"/>
369 <field name="company_contrib"/>
371 <notebook colspan="4">
372 <page string="Function">
373 <field name="line_ids" colspan="4" nolabel="1" attrs="{'readonly':[('amount_type','!=','func')]}">
374 <tree string="Function Arguments" editable="bottom">
376 <field name="sequence"/>
377 <field name="from_val"/>
378 <field name="to_val"/>
379 <field name="amount_type"/>
380 <field name="value"/>
384 <page string="Description">
385 <separator colspan="4" string="Description"/>
386 <field name="note" colspan="4" nolabel="1"/>
393 <record id="view_hr_payslip_tree" model="ir.ui.view">
394 <field name="name">hr.payslip.tree</field>
395 <field name="model">hr.payslip</field>
396 <field name="type">tree</field>
397 <field name="arch" type="xml">
398 <tree string="Payslip">
399 <field name="number"/>
400 <field name="employee_id"/>
403 <field name="grows"/>
405 <field name="state"/>
410 <record id="view_hr_payslip_form" model="ir.ui.view">
411 <field name="name">hr.payslip.form</field>
412 <field name="model">hr.payslip</field>
413 <field name="type">form</field>
414 <field name="arch" type="xml">
415 <form string="Payslip">
416 <group col="6" colspan="4">
417 <field name="employee_id"/>
419 <field name="number" select="1"/>
420 <field name="journal_id"/>
421 <field name="bank_journal_id" domain="[('type','=','cash')]"/>
424 <notebook colspan="4">
425 <page string="Salary Detail">
426 <field name="line_ids" colspan="4" nolabel="1">
427 <tree string="Salary Structure" editable="bottom">
428 <field name="category_id" on_change="onchange_category(category_id)"/>
429 <field name="sequence"/>
433 <field name="amount_type"/>
434 <field name="amount" on_change="onchange_amount(amount, amount_type)"/>
435 <field name="total"/>
436 <field name="account_id"/>
437 <field name="analytic_account_id"/>
441 <group col="6" colspan="4">
442 <separator string="Computation Overview" colspan="6"/>
443 <field name="working_days"/>
444 <field name="holiday_days"/>
445 <field name="worked_days"/>
447 <field name="basic_before_leaves"/>
448 <field name="leaves"/>
449 <field name="basic"/>
451 <field name="allounce"/>
452 <field name="deduction"/>
453 <field name="other_pay"/>
455 <field name="grows"/>
457 <field name="total_pay"/>
460 <page string="Accounting Details">
461 <group col="2" colspan="3">
462 <separator colspan="4" string="Accounting Informations"/>
463 <field name="move_ids" colspan="2" nolabel="1" readonly="1">
464 <tree string="Accounting Vouchers">
465 <field name="sequence"/>
467 <field name="move_id"/>
469 <form string="Accounting Vouchers">
470 <field name="sequence"/>
472 <field name="move_id"/>
476 <group col="2" colspan="1">
477 <separator colspan="4" string="Other Informations"/>
478 <field name="paid" readonly="1"/>
479 <field name="company_id"/>
480 <field name="register_id"/>
481 <field name="deg_id"/>
482 <field name="contract_id" domain="[('employee_id','=',employee_id)]"/>
484 <separator colspan="4" string="Description"/>
485 <field name="note" colspan="4" nolabel="1"/>
487 <page string="Account Lines">
488 <field name="move_line_ids" colspan="4" nolabel="1"/>
490 <page string="Payment Lines">
491 <field name="move_payment_ids" colspan="4" nolabel="1"/>
494 <group col="10" colspan="4">
495 <field name="state"/>
496 <button string="Compute Sheet" icon="terp-stock_format-scientific" name="compute_sheet" states="new"/>
497 <button string="Recompute Sheet" icon="terp-stock_format-scientific" name="compute_sheet" type="object" states="draft"/>
498 <button string="Verify Sheet" icon="terp-camera_test" name="verify_sheet" states="draft"/>
499 <button string="Complete HR Checking" icon="terp-camera_test" name="verify_twice_sheet" states="hr_check"/>
500 <button string="Complete Accountant Checking" icon="terp-camera_test" name="final_verify_sheet" states="accont_check"/>
501 <button string="Pay Salary" icon="terp-dolar_ok!" name="process_sheet" states="confirm"/>
502 <button string="Cancel" icon="terp-dialog-close" name="cancel_sheet" states="draft,hr_check,accont_check,confirm"/>
503 <button string="Set to Draft" icon="terp-stock_effects-object-colorize" name="set_to_draft" states="cancel"/>
508 <record id="view_hr_payslip_filter" model="ir.ui.view">
509 <field name="name">hr.payslip.select</field>
510 <field name="model">hr.payslip</field>
511 <field name="type">search</field>
512 <field name="arch" type="xml">
513 <search string="Search Payslips">
514 <group col="8" colspan="4">
515 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Slip"/>
516 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Slip"/>
517 <separator orientation="vertical"/>
518 <filter icon="terp-account" string="Paid" domain="[('state','=','done'),('paid','=',True)]" help="Paid Slip"/>
520 <field name="employee_id"/>
521 <field name="number"/>
525 <group col="8" colspan="4" expand="0" string="Group By...">
526 <filter string="Register" icon="terp-folder-yellow" name="register_id" context="{'register_id':self}"/>
527 <filter string="Employees" icon="terp-partner" name="employee_id" context="{'employee_id':self}"/>
528 <filter string="Periods" name="period_id" icon="terp-go-month" context="{'period_id':self}"/>
529 <filter string="Staes" name="state" icon="terp-stock_effects-object-colorize" context="{'state':self}"/>
534 <record id="action_view_hr_payslip_form" model="ir.actions.act_window">
535 <field name="name">Employee Payslip</field>
536 <field name="res_model">hr.payslip</field>
537 <field name="view_type">form</field>
538 <field name="view_id" ref="view_hr_payslip_tree"/>
539 <field name="search_view_id" ref="view_hr_payslip_filter"/>
541 <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/>
545 <!-- Payment Heads -->
546 <record id="hr_allounce_deduction_categoty_form" model="ir.ui.view">
547 <field name="name">hr.allounce.deduction.categoty.form</field>
548 <field name="model">hr.allounce.deduction.categoty</field>
549 <field name="type">form</field>
550 <field name="arch" type="xml">
551 <form string="Salary Heads">
552 <group col="6" colspan="6">
553 <field name="name" select="1"/>
554 <field name="code" select="1"/>
555 <field name="type" select="1"/>
556 <group col="2" colspan="4">
557 <separator colspan="4" string="Dynamic Computation"/>
559 <field name="condition"/>
560 <field name="sequence"/>
563 <notebook colspan="4">
564 <page string="Description">
565 <field name="note" colspan="4" nolabel="1"/>
571 <record id="hr_allounce_deduction_categoty_tree" model="ir.ui.view">
572 <field name="name">hr.allounce.deduction.categoty.tree</field>
573 <field name="model">hr.allounce.deduction.categoty</field>
574 <field name="type">tree</field>
575 <field name="arch" type="xml">
576 <tree string="Salary Heads">
581 <field name="condition"/>
582 <field name="sequence"/>
586 <record id="hr_allounce_deduction_tree" model="ir.actions.act_window">
587 <field name="name">Salary Heads</field>
588 <field name="res_model">hr.allounce.deduction.categoty</field>
589 <field name="view_type">form</field>
590 <field name="view_id" ref="hr_allounce_deduction_categoty_tree"/>
593 id="menu_hr_allounce_deduction_tree"
594 action="hr_allounce_deduction_tree"
595 parent="payroll_configure"
597 <!-- End Payment Heads -->
599 <!-- Company Contribution -->
600 <record id="hr_company_contribution_form" model="ir.ui.view">
601 <field name="name">company.contribution.form</field>
602 <field name="model">company.contribution</field>
603 <field name="type">form</field>
604 <field name="arch" type="xml">
605 <form string="Company Contribution">
606 <group col="6" colspan="6">
607 <field name="name" select="1"/>
608 <field name="code" select="1"/>
609 <field name="category_id"/>
610 <field name="company_id" select="1"/>
611 <field name="active" select="1"/>
613 <group col="2" colspan="2">
614 <separator colspan="2" string="Contributions"/>
615 <field name="amount_type" attrs="{'required': [('contribute','=',True)]}"/>
616 <field name="contribute_per" attrs="{'required': [('contribute','=',True)], 'readonly':[(('amount_type','=','func'))]}"/>
617 <field name="register_id" attrs="{'required': [('contribute','=',True)]}"/>
619 <group col="2" colspan="2">
620 <separator colspan="2" string="Accounts"/>
621 <field name="include_in_salary" />
622 <field name="account_id" attrs="{'required': [('include_in_salary','=',True)]}"/>
624 <notebook colspan="4">
625 <page string="Function" attrs="{'readonly': [('amount_type','!=','func')]}">
626 <field name="line_ids" colspan="4" nolabel="1">
627 <tree string="Function Arguments" editable="bottom">
629 <field name="sequence"/>
630 <field name="from_val"/>
631 <field name="to_val"/>
632 <field name="amount_type"/>
633 <field name="value"/>
637 <page string="Description">
638 <field name="note" colspan="4" nolabel="1"/>
644 <record id="hr_company_contribution_tree" model="ir.ui.view">
645 <field name="name">company.contribution.tree</field>
646 <field name="model">company.contribution</field>
647 <field name="type">tree</field>
648 <field name="arch" type="xml">
649 <tree string="Company Contribution">
652 <field name="contribute_per"/>
653 <field name="amount_type"/>
654 <field name="register_id"/>
658 <record id="action_hr_company_contribution_tree" model="ir.actions.act_window">
659 <field name="name">Company Contributions</field>
660 <field name="res_model">company.contribution</field>
661 <field name="view_type">form</field>
662 <field name="view_id" ref="hr_company_contribution_tree"/>
665 id="menu_hr_company_contribution_tree"
666 action="action_hr_company_contribution_tree"
667 parent="payroll_configure"
669 <!-- End Company Contribution -->
671 <!-- Contract Form-->
672 <!-- <record id="hr_contract.hr_contract_view_form" model="ir.ui.view">-->
673 <!-- <field name="name">hr.contract.view.form</field>-->
674 <!-- <field name="model">hr.contract</field>-->
675 <!-- <field name="type">form</field>-->
676 <!-- <field name="arch" type="xml">-->
677 <!-- <form string="Contract">-->
678 <!-- <field name="employee_id"/>-->
679 <!-- <separator colspan="4" string="General Information"/>-->
680 <!-- <field colspan="4" name="name" select="1"/>-->
682 <!-- <separator colspan="4" string="Contract Duration"/>-->
683 <!-- <field name="function"/>-->
684 <!-- <field name="working_hours_per_day"/>-->
685 <!-- <field name="working_days_per_week"/>-->
686 <!-- <field name="date_start" select="1"/>-->
687 <!-- <field name="date_end" select="1"/>-->
689 <!-- <separator colspan="4" string="Salary"/>-->
690 <!-- <field name="wage_type_id"/>-->
691 <!-- <field name="wage"/>-->
693 <!-- <separator colspan="4" string="Notes"/>-->
694 <!-- <field colspan="4" name="notes" nolabel="1"/>-->
696 <!-- <separator colspan="4" string="Passport and Visa"/>-->
697 <!-- <field name="permit_no"/>-->
698 <!-- <field name="passport_id"/>-->
699 <!-- <field name="visa_no"/>-->
700 <!-- <field name="visa_expire"/>-->
704 <!-- <record id="action_hr_contract" model="ir.actions.act_window">-->
705 <!-- <field name="name">Employee Contract</field>-->
706 <!-- <field name="res_model">hr.contract</field>-->
707 <!-- <field name="view_type">form</field>-->
708 <!-- <field name="view_mode">form,tree</field>-->
711 <!-- action="action_hr_contract" -->
712 <!-- name="Employee Contract" -->
713 <!-- id="hr_menu_contract" -->
714 <!-- parent="payroll_configure"-->
717 <record id="view_hr_bank_advice_tree" model="ir.ui.view">
718 <field name="name">hr.payroll.advice.tree</field>
719 <field name="model">hr.payroll.advice</field>
720 <field name="type">tree</field>
721 <field name="arch" type="xml">
722 <tree string="Bank Advice">
723 <field name="name" select="1"/>
724 <field name="date" select="1"/>
725 <field name="number" select="1"/>
726 <field name="company_id"/>
731 <record id="view_hr_bank_advice_form" model="ir.ui.view">
732 <field name="name">hr.payroll.advice.form</field>
733 <field name="model">hr.payroll.advice</field>
734 <field name="type">form</field>
735 <field name="arch" type="xml">
736 <form string="Bank Advice">
737 <group col="6" colspan="4">
738 <field name="name" colspan="4" select="1"/>
739 <field name="account_id" select="1"/>
741 <field name="date" select="1"/>
742 <field name="number" select="1"/>
743 <field name="register_id"/>
745 <notebook colspan="4">
746 <page string="Paymeny Lines">
747 <field name="line_ids" colspan="4" nolabel="1">
748 <tree string="Payment Lines" editable="bottom">
749 <field name="employee_id" on_change="onchange_employee_id(parent.date, employee_id)"/>
751 <field name="amount"/>
752 <field name="bysal"/>
756 <field name="company_id"/>
757 <field name="chaque_nos"/>
759 <page string="Letter Content">
760 <separator colspan="4" string="Letter Details"/>
761 <field name="note" colspan="4" nolabel="1"/>
764 <group col="6" colspan="6">
765 <field name="state"/>
766 <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object"/>
767 <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
768 <button name="cancel_sheet" string="Cancel Sheet" states="draft" type="object"/>
773 <record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
774 <field name="name">Payment Advice</field>
775 <field name="res_model">hr.payroll.advice</field>
776 <field name="view_type">form</field>
777 <field name="view_mode">tree,form</field>
778 <field name="view_id" ref="view_hr_bank_advice_tree"/>
781 action="action_view_hr_bank_advice_tree"
782 id="hr_menu_payment_advice"
783 parent="menu_hr_root_payroll"
786 <record id="view_hr_payroll_register_tree" model="ir.ui.view">
787 <field name="name">hr.payroll.register.tree</field>
788 <field name="model">hr.payroll.register</field>
789 <field name="type">tree</field>
790 <field name="arch" type="xml">
791 <tree string="Payroll Register">
792 <field name="number"/>
795 <field name="journal_id"/>
796 <field name="bank_journal_id"/>
797 <field name="state"/>
801 <record id="view_hr_payroll_register_form" model="ir.ui.view">
802 <field name="name">hr.payroll.register.form</field>
803 <field name="model">hr.payroll.register</field>
804 <field name="type">form</field>
805 <field name="arch" type="xml">
806 <form string="Payroll Register">
807 <group col="6" colspan="4">
808 <field name="name" select="1"/>
809 <field name="date" select="1"/>
810 <field name="number" select="1"/>
811 <field name="journal_id"/>
812 <field name="bank_journal_id"/>
813 <field name="active"/>
815 <notebook colspan="4">
816 <page string="Payslips">
817 <field name="line_ids" colspan="4" nolabel="1">
818 <tree string="Payslip">
819 <field name="number"/>
820 <field name="employee_id"/>
823 <field name="basic"/>
824 <field name="allounce"/>
825 <field name="grows"/>
826 <field name="deduction"/>
828 <field name="state"/>
831 <group col="2" colspan="2">
832 <separator colspan="4" string="Allowance / Deduction"/>
833 <field name="allounce"/>
834 <field name="deduction"/>
836 <group col="2" colspan="2">
837 <separator colspan="4" string="Salary Information"/>
838 <field name="grows"/>
843 <group col="8" colspan="4">
844 <field name="state"/>
845 <button string="Compute" name="compute_sheet" states="new" type="object"/>
846 <button string="Verify Sheet" name="verify_sheet" states="draft" type="object"/>
847 <button string="Complete HR Checking" name="verify_twice_sheet" type="object" states="hr_check"/>
848 <button string="Complete Accountant Checking" name="final_verify_sheet" states="accont_check" type="object"/>
849 <button string="Pay Salary" name="process_sheet" states="confirm" type="object"/>
850 <button string="Cancel" name="cancel_sheet" states="draft,hr_check,accont_check,confirm" type="object"/>
851 <button string="Set to Draft" name="set_to_draft" states="cancel" type="object"/>
856 <record id="action_view_hr_payroll_register_form" model="ir.actions.act_window">
857 <field name="name">Payroll Register</field>
858 <field name="res_model">hr.payroll.register</field>
859 <field name="view_type">form</field>
860 <field name="view_mode">tree,form</field>
863 action="action_view_hr_payroll_register_form"
864 id="hr_menu_payroll_register"
865 parent="menu_hr_root_payroll"
869 Contribution Register
871 <record id="hr_contibution_register_tree" model="ir.ui.view">
872 <field name="name">hr.contibution.register.tree</field>
873 <field name="model">hr.contibution.register</field>
874 <field name="type">tree</field>
875 <field name="arch" type="xml">
876 <tree string="Contribution Registers">
877 <field name="name" select="1"/>
878 <field name="company_id" select="1"/>
879 <field name="monthly_total_by_emp"/>
880 <field name="monthly_total_by_comp"/>
881 <field name="yearly_total_by_emp"/>
882 <field name="yearly_total_by_comp"/>
886 <record id="hr_contibution_register_form" model="ir.ui.view">
887 <field name="name">hr.contibution.register.form</field>
888 <field name="model">hr.contibution.register</field>
889 <field name="type">form</field>
890 <field name="arch" type="xml">
891 <form string="Contribution">
892 <field name="name" select="1"/>
893 <field name="account_id"/>
894 <field name="analytic_account_id"/>
895 <field name="company_id" select="1"/>
896 <notebook colspan="4">
897 <page string="Contribution Lines">
898 <field colspan="4" name="register_line_ids" nolabel="1" select="1">
899 <tree string="Register Lines" editable="top">
901 <field name="employee_id"/>
902 <field name="period_id"/>
903 <field name="emp_deduction"/>
904 <field name="comp_deduction"/>
905 <field name="total"/>
909 <page string="Description">
910 <separator colspan="4" string="Description"/>
911 <field name="note" colspan="4" nolabel="1"/>
914 <group col="2" colspan="2">
915 <separator colspan="4" string="Year"/>
916 <field name="yearly_total_by_emp"/>
917 <field name="yearly_total_by_comp"/>
919 <group col="2" colspan="2">
920 <separator colspan="2" string="Month"/>
921 <field name="monthly_total_by_emp"/>
922 <field name="monthly_total_by_comp"/>
927 <record id="action_contibution_register_form" model="ir.actions.act_window">
928 <field name="name">Contibution Register</field>
929 <field name="res_model">hr.contibution.register</field>
930 <field name="view_type">form</field>
931 <field name="view_id" ref="hr_contibution_register_tree"/>
934 id="menu_action_hr_contibution_register_form"
935 action="action_contibution_register_form"
936 parent="payroll_configure"
938 <record id="hr_contibution_register_line_form" model="ir.ui.view">
939 <field name="name">hr.contibution.register.line.form</field>
940 <field name="model">hr.contibution.register.line</field>
941 <field name="type">form</field>
942 <field name="arch" type="xml">
943 <form string="Contribution">
946 <field name="employee_id"/>
947 <field name="period_id"/>
948 <field name="emp_deduction"/>
949 <field name="comp_deduction"/>
950 <field name="total"/>
955 <record id="hr_payslip_line_condition_tree" model="ir.ui.view">
956 <field name="name">hr.payslip.line.condition.tree</field>
957 <field name="model">hr.payslip.line.condition</field>
958 <field name="type">tree</field>
959 <field name="arch" type="xml">
960 <form string="Condition">
962 <field name="date_start"/>
963 <field name="date_end"/>
964 <field name="state"/>