<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="hr_payroll.hr_salary_rule_houserentallowance1" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>

        <record id="hr_payroll.hr_salary_rule_convanceallowance1" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>

        <record id="hr_payroll.hr_salary_rule_professionaltax1" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>

        <record id="hr_payroll.hr_salary_rule_providentfund1" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>
        
         <record id="hr_payroll.hr_salary_rule_meal_voucher" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>
        
        <record id="hr_payroll.hr_salary_rule_ca_paolino" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>
        
        <record id="hr_payroll.hr_rule_basic" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>
        
        <record id="hr_payroll.hr_rule_taxable" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>
        
        <record id="hr_payroll.hr_rule_net" model="hr.salary.rule">
            <field name="account_debit" ref="account.a_salary_expense"/>
        </record>

        <!-- Payslip -->
       <!-- <record id="hr_payroll.hr_payslip_salaryslipofbonamyforjune0" model="hr.payslip">
            <field name="journal_id" ref="account.expenses_journal"/>
            <field name="bank_journal_id" ref="account.bank_journal"/>
        </record>-->

        <!-- Assigned Default Account in Different Demo Employees -->

       <!-- <record id="hr.employee" model="hr.employee">
            <field name="property_bank_account" ref="account.bnk"/>
            <field name="salary_account" ref="account.a_salary_expense"/>
            <field name="employee_account" ref="account.a_expense"/>
        </record>

        <record id="hr.employee1" model="hr.employee">
            <field name="property_bank_account" ref="account.bnk"/>
            <field name="salary_account" ref="account.a_salary_expense"/>
            <field name="employee_account" ref="account.a_expense"/>
        </record>

        <record id="hr.employee2" model="hr.employee">
            <field name="property_bank_account" ref="account.bnk"/>
            <field name="salary_account" ref="account.a_salary_expense"/>
            <field name="employee_account" ref="account.a_expense"/>
        </record>

        <record id="hr.employee3" model="hr.employee">
            <field name="property_bank_account" ref="account.bnk"/>
            <field name="salary_account" ref="account.a_salary_expense"/>
            <field name="employee_account" ref="account.a_expense"/>
        </record>

        <record id="hr_payroll.hr_employee_bonamy0" model="hr.employee">
            <field name="property_bank_account" ref="account.bnk"/>
            <field name="salary_account" ref="account.a_salary_expense"/>
            <field name="employee_account" ref="account.a_expense"/>
        </record>-->

        <record id="bnk" model="account.account">
            <field name="code">X110041</field>
            <field name="name">Bank Current Account</field>
            <field ref="account.cas" name="parent_id"/>
            <field name="type">liquidity</field>
            <field name="user_type" ref="account.account_type_asset"/>
        </record>

        <record id="a_salary_expense" model="account.account">
            <field name="code">X21122</field>
            <field name="name">Salary Expenses</field>
            <field ref="account.ovr" name="parent_id"/>
            <field name="type">other</field>
            <field name="user_type" ref="account.account_type_expense"/>
        </record>

        <record id="a_creditors" model="account.account">
            <field name="code">X11111</field>
            <field name="name">Employee Payable Account</field>
            <field ref="account.cli" name="parent_id"/>
            <field name="type">payable</field>
            <field eval="True" name="reconcile"/>
            <field name="user_type" ref="account.account_type_payable"/>
        </record>


    </data>
</openerp>
