2012-05-15 08:41:29 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="hr_contract_form_in_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">hr.contract.form.in.inherit</field>
|
|
|
|
<field name="model">hr.contract</field>
|
|
|
|
<field name="type">form</field>
|
2012-07-02 07:24:32 +00:00
|
|
|
<field name="inherit_id" ref="hr_payroll.hr_contract_form_inherit"/>
|
2012-05-15 08:41:29 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
2012-06-13 06:51:37 +00:00
|
|
|
<xpath expr="//field[@name='struct_id']" position="after">
|
2012-05-21 13:27:03 +00:00
|
|
|
<group col="2" colspan="2" name="right_column">
|
|
|
|
<separator colspan="2" string="Allowance"/>
|
|
|
|
<field name="driver_salay"/>
|
2012-07-13 11:55:44 +00:00
|
|
|
<field name="city_type"/>
|
2012-05-21 13:27:03 +00:00
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2" name="left_column">
|
|
|
|
<separator colspan="2" string="Deduction"/>
|
|
|
|
<field name="tds"/>
|
2012-05-23 12:12:10 +00:00
|
|
|
<field name="voluntary_provident_fund"/>
|
2012-05-21 13:27:03 +00:00
|
|
|
<field name="medical_insurance"/>
|
|
|
|
</group>
|
2012-05-15 08:41:29 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-13 11:55:44 +00:00
|
|
|
|
2012-06-26 06:30:03 +00:00
|
|
|
<record id="hr_employee_form_in_inherit" model="ir.ui.view">
|
2012-05-23 05:45:19 +00:00
|
|
|
<field name="name">hr.employee.form.inherit</field>
|
|
|
|
<field name="model">hr.employee</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="hr.view_employee_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
|
|
|
<xpath expr="//field[@name='job_id']" position="after">
|
|
|
|
<field name="join_date"/>
|
2012-05-23 07:29:45 +00:00
|
|
|
<field name="number_of_year"/>
|
2012-05-23 05:45:19 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-06-04 06:18:28 +00:00
|
|
|
|
2012-07-13 12:09:27 +00:00
|
|
|
<record id="hr_payslip_run_form_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">hr.payslip.run.form.inherit</field>
|
|
|
|
<field name="model">hr.payslip.run</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="hr_payroll.hr_payslip_run_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
2012-07-17 07:21:28 +00:00
|
|
|
<xpath expr="//field[@name='credit_note']" position="after">
|
|
|
|
<field name="payment_advice"/>
|
|
|
|
</xpath>
|
2012-07-13 12:09:27 +00:00
|
|
|
<xpath expr="//button[@string='Set to Draft']" position="after">
|
2012-07-16 09:05:15 +00:00
|
|
|
<button name="create_advice" string="Create Advice" type="object" states="close" />
|
2012-07-13 12:09:27 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-06-04 09:16:29 +00:00
|
|
|
<record id="view_hr_bank_advice_tree" model="ir.ui.view">
|
|
|
|
<field name="name">hr.payroll.advice.tree</field>
|
|
|
|
<field name="model">hr.payroll.advice</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Bank Advice">
|
2012-06-26 10:48:58 +00:00
|
|
|
<field name="date"/>
|
|
|
|
<field name="number"/>
|
|
|
|
<field name="name"/>
|
2012-06-04 09:16:29 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
2012-06-26 10:48:58 +00:00
|
|
|
<field name="bank_id"/>
|
2012-06-11 11:10:55 +00:00
|
|
|
<field name="state"/>
|
2012-06-04 09:16:29 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-13 11:55:44 +00:00
|
|
|
|
2012-06-04 06:18:28 +00:00
|
|
|
<record id="view_hr_bank_advice_form" model="ir.ui.view">
|
|
|
|
<field name="name">hr.payroll.advice.form</field>
|
|
|
|
<field name="model">hr.payroll.advice</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-12 05:57:10 +00:00
|
|
|
<form string="Bank Advice" version="7.0">
|
|
|
|
<header>
|
2012-07-04 04:33:52 +00:00
|
|
|
<button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object" class="oe_highlight"/>
|
|
|
|
<button name="compute_advice" string="Compute Advice" states="draft" type="object" class="oe_highlight"/>
|
2012-06-12 05:57:10 +00:00
|
|
|
<button name="cancel_sheet" string="Cancel" states="draft" type="object"/>
|
|
|
|
<button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/>
|
2012-06-06 09:55:08 +00:00
|
|
|
<div class="oe_right">
|
|
|
|
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft"/>
|
|
|
|
</div>
|
|
|
|
<div class="oe_clear"/>
|
2012-06-27 10:50:52 +00:00
|
|
|
</header>
|
|
|
|
<sheet>
|
2012-06-28 05:37:59 +00:00
|
|
|
<group col="4" colspan="4">
|
|
|
|
<label for="Name" class="oe_edit_only" string="Name"/>
|
|
|
|
<h2><field name="name"/></h2>
|
2012-06-27 10:50:52 +00:00
|
|
|
<field name="number"/>
|
2012-06-28 05:37:59 +00:00
|
|
|
<label for="date" class="oe_edit_only"/>
|
|
|
|
<h2><field name="date"/></h2>
|
2012-06-27 10:50:52 +00:00
|
|
|
<field name="bank_id"/>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
2012-07-03 13:00:49 +00:00
|
|
|
<page string="Payment Lines">
|
2012-06-27 10:50:52 +00:00
|
|
|
<field name="line_ids" colspan="4" nolabel="1">
|
|
|
|
<tree string="Payment Lines" editable="bottom">
|
2012-07-13 06:38:31 +00:00
|
|
|
<field name="employee_id" on_change="onchange_employee_id(employee_id)"/>
|
2012-06-27 10:50:52 +00:00
|
|
|
<field name="name"/>
|
2012-07-13 06:38:31 +00:00
|
|
|
<field name="ifsc_code"/>
|
2012-06-27 10:50:52 +00:00
|
|
|
<field name="bysal"/>
|
2012-07-09 06:29:05 +00:00
|
|
|
<field name="debit_credit"/>
|
2012-06-27 10:50:52 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</page>
|
|
|
|
<page string="Other Information">
|
|
|
|
<group colspan="4" col="6">
|
|
|
|
<field name="company_id" on_change="onchange_company_id(company_id)" groups="base.group_multi_company" widget="selection"/>
|
|
|
|
<field name="chaque_nos"/>
|
2012-07-16 13:04:32 +00:00
|
|
|
<newline/>
|
2012-07-13 06:38:31 +00:00
|
|
|
<field name="neft"/>
|
2012-06-27 10:50:52 +00:00
|
|
|
</group>
|
|
|
|
<separator colspan="4" string="Letter Details"/>
|
|
|
|
<field name="note" colspan="4" nolabel="1"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</sheet>
|
2012-06-04 06:18:28 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-06-11 11:10:55 +00:00
|
|
|
<record id="view_hr_payroll_advice_filter" model="ir.ui.view">
|
|
|
|
<field name="name">hr.payroll.advice.select</field>
|
|
|
|
<field name="model">hr.payroll.advice</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search Payment advice">
|
|
|
|
<group>
|
|
|
|
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Advice"/>
|
|
|
|
<filter icon="terp-camera_test" string="Done" domain="[('state','=','confirm')]" help="Done Advice"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="number"/>
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="bank_id"/>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
|
|
|
<group expand="0" string="Group By...">
|
|
|
|
<filter string="Bank" name="bank_id" icon="terp-folder-orange" context="{'group_by':'bank_id'}"/>
|
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="Companies" name="company_id" groups="base.group_multi_company" icon="terp-go-home" context="{'group_by':'company_id'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="States" name="state" icon="terp-stock_effects-object-colorize" context="{'group_by':'state'}"/>
|
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-06-04 06:18:28 +00:00
|
|
|
<record id="action_view_hr_bank_advice_tree" model="ir.actions.act_window">
|
2012-06-27 06:14:04 +00:00
|
|
|
<field name="name">Payment Advices</field>
|
2012-06-04 06:18:28 +00:00
|
|
|
<field name="res_model">hr.payroll.advice</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="view_id" ref="view_hr_bank_advice_tree"/>
|
2012-06-11 11:10:55 +00:00
|
|
|
<field name="search_view_id" ref="view_hr_payroll_advice_filter"/>
|
2012-06-04 06:18:28 +00:00
|
|
|
</record>
|
2012-07-13 11:55:44 +00:00
|
|
|
|
2012-06-04 06:18:28 +00:00
|
|
|
<menuitem
|
|
|
|
action="action_view_hr_bank_advice_tree"
|
|
|
|
id="hr_menu_payment_advice"
|
|
|
|
parent="hr_payroll.menu_hr_root_payroll"
|
|
|
|
/>
|
|
|
|
|
2012-06-29 09:07:31 +00:00
|
|
|
<record id="view_res_company_da" model="ir.ui.view">
|
2012-06-29 05:41:18 +00:00
|
|
|
<field name="name">res.company.inherit</field>
|
|
|
|
<field name="model">res.company</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="base.view_company_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
|
|
|
<page string="Configuration" position="inside">
|
2012-06-29 09:07:31 +00:00
|
|
|
<group name="rule" string="Payroll">
|
2012-06-29 05:41:18 +00:00
|
|
|
<field name="dearness_allowance"/>
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-06-26 10:48:58 +00:00
|
|
|
<!-- Shortcuts -->
|
|
|
|
|
|
|
|
<act_window name="Payslips"
|
|
|
|
domain="[('advice_id', '=', active_id)]"
|
|
|
|
res_model="hr.payslip"
|
|
|
|
src_model="hr.payroll.advice"
|
|
|
|
view_id ="hr_payroll.view_hr_payslip_tree"
|
|
|
|
id="act_hr_emp_payslip_list"
|
2012-06-29 05:34:56 +00:00
|
|
|
/>
|
2012-06-26 10:48:58 +00:00
|
|
|
|
2012-05-15 08:41:29 +00:00
|
|
|
</data>
|
2012-06-27 10:50:52 +00:00
|
|
|
</openerp>
|