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

        <!-- Salary Rules -->

        <record id="hr_payslip_line_houserantallowance1" model="hr.salary.rule">
            <field name="amount_select">percentage</field>
            <field eval="40.0" name="amount_percentage"/>
            <field name="amount_percentage_base">contract.wage</field>
            <field name="code">HRA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">House Rent Allowance</field>
            <field name="sequence" eval="5"/>
        </record>

        <record id="hr_payslip_line_convanceallowance1" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="800.0" name="amount_fix"/>
            <field name="code">CA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Conveyance Allowance</field>
            <field name="sequence" eval="10"/>
        </record>

        <record id="hr_payslip_line_professionaltax1" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="150" name="sequence"/>
            <field eval="-200.0" name="amount_fix"/>
            <field name="code">PT</field>
            <field name="category_id" ref="hr_payroll.DED"/>
            <field name="name">Professional Tax</field>
        </record>

        <record id="hr_payslip_line_providentfund1" model="hr.salary.rule">
            <field name="amount_select">percentage</field>
            <field eval="120" name="sequence"/>
            <field eval="-12.5" name="amount_percentage"/>
            <field name="amount_percentage_base">contract.wage</field>
            <field name="code">PF</field>
            <field name="category_id" ref="hr_payroll.DED"/>
            <field name="name">Provident Fund</field>
        </record>

        <record id="hr_salary_rule_ca_paolino" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="600.0" name="amount_fix"/>
            <field name="code">CA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Conveyance Allowance For Paolino</field>
            <field name="sequence" eval="15"/>
        </record>

        <record id="hr_salary_rule_meal_voucher" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="10" name="amount_fix"/>
            <field name="quantity">worked_days.WORK100.number_of_days</field>
            <field name="code">MA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Meal Voucher</field>
            <field name="sequence" eval="16"/>
         </record>

        <record id="hr_salary_rule_sales_commission" model="hr.salary.rule">
            <field name="amount_select">code</field>
            <field name="code">SALE</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Get 1% of sales</field>
            <field name="sequence" eval="17"/>
            <field name="amount_python_compute">result = (inputs.SASUS.quantity + inputs.SCHINA.quantity) * contract.wage * 0.01</field>
         </record>

        <!-- Rule Inputs -->

        <record id="hr_rule_input_sale_a" model="hr.rule.input">
            <field name="code">SASUS</field>
            <field name="name">Sale to ASUStek</field>
            <field name="input_id" ref="hr_salary_rule_sales_commission"/>
        </record>

        <record id="hr_rule_input_sale_b" model="hr.rule.input">
            <field name="code">SCHINA</field>
            <field name="name">Sale to China Export</field>
            <field name="input_id" ref="hr_salary_rule_sales_commission"/>
        </record>

        <!-- Salary Structure -->

         <record id="structure_001" model="hr.payroll.structure">
            <field name="code">ME</field>
            <field name="name">Marketing Executive</field>
            <field eval="[(6, 0, [ref('hr_payslip_line_houserantallowance1'), ref('hr_payslip_line_convanceallowance1'),ref('hr_payslip_line_professionaltax1'),ref('hr_payslip_line_providentfund1')])]" name="rule_ids"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="parent_id" ref="structure_base"/>
        </record>

        <record id="structure_002" model="hr.payroll.structure">
            <field name="code">MEQP</field>
            <field name="name">Marketing Executive for Quentin Paolino</field><commit_msg>[IMP] hr_payroll: better demo data<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!-- Salary Rules -->

        <record id="hr_payslip_line_houserantallowance1" model="hr.salary.rule">
            <field name="amount_select">percentage</field>
            <field eval="40.0" name="amount_percentage"/>
            <field name="amount_percentage_base">contract.wage</field>
            <field name="code">HRA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">House Rent Allowance</field>
            <field name="sequence" eval="5"/>
        </record>

        <record id="hr_payslip_line_convanceallowance1" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="800.0" name="amount_fix"/>
            <field name="code">CA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Conveyance Allowance</field>
            <field name="sequence" eval="10"/>
        </record>

        <record id="hr_payslip_line_professionaltax1" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="150" name="sequence"/>
            <field eval="-200.0" name="amount_fix"/>
            <field name="code">PT</field>
            <field name="category_id" ref="hr_payroll.DED"/>
            <field name="name">Professional Tax</field>
        </record>

        <record id="hr_payslip_line_providentfund1" model="hr.salary.rule">
            <field name="amount_select">percentage</field>
            <field eval="120" name="sequence"/>
            <field eval="-12.5" name="amount_percentage"/>
            <field name="amount_percentage_base">contract.wage</field>
            <field name="code">PF</field>
            <field name="category_id" ref="hr_payroll.DED"/>
            <field name="name">Provident Fund</field>
        </record>

        <record id="hr_salary_rule_ca_paolino" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="600.0" name="amount_fix"/>
            <field name="code">CA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Conveyance Allowance For Paolino</field>
            <field name="sequence" eval="15"/>
        </record>

        <record id="hr_salary_rule_meal_voucher" model="hr.salary.rule">
            <field name="amount_select">fix</field>
            <field eval="10" name="amount_fix"/>
            <field name="quantity">worked_days.WORK100.number_of_days</field>
            <field name="code">MA</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Meal Voucher</field>
            <field name="sequence" eval="16"/>
         </record>

        <record id="hr_salary_rule_sales_commission" model="hr.salary.rule">
            <field name="amount_select">code</field>
            <field name="code">SALE</field>
            <field name="category_id" ref="hr_payroll.ALW"/>
            <field name="name">Get 1% of sales</field>
            <field name="sequence" eval="17"/>
            <field name="amount_python_compute">result = (inputs.SALEURO.quantity + inputs.SALASIA.quantity) * contract.wage * 0.01</field>
         </record>

        <!-- Rule Inputs -->

        <record id="hr_rule_input_sale_a" model="hr.rule.input">
            <field name="code">SALEURO</field>
            <field name="name">Sales to Europe</field>
            <field name="input_id" ref="hr_salary_rule_sales_commission"/>
        </record>

        <record id="hr_rule_input_sale_b" model="hr.rule.input">
            <field name="code">SALASIA</field>
            <field name="name">Sales to Asia</field>
            <field name="input_id" ref="hr_salary_rule_sales_commission"/>
        </record>

        <!-- Salary Structure -->

         <record id="structure_001" model="hr.payroll.structure">
            <field name="code">ME</field>
            <field name="name">Marketing Executive</field>
            <field eval="[(6, 0, [ref('hr_payslip_line_houserantallowance1'), ref('hr_payslip_line_convanceallowance1'),ref('hr_payslip_line_professionaltax1'),ref('hr_payslip_line_providentfund1')])]" name="rule_ids"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="parent_id" ref="structure_base"/>
        </record>

        <record id="structure_002" model="hr.payroll.structure">
            <field name="code">MEQP</field>
            <field name="name">Marketing Executive for <NAME></field>
{'fraction_non_alphanumeric': 0.15806556312885428, 'fraction_numerical': 0.013199177756139782, 'mean_word_length': 2.6322200392927306, 'pattern_counts': {'":': 0, '<': 240, '<?xml version=': 2, '>': 240, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1350286', 'n_tokens_mistral': 2935, 'n_tokens_neox': 2792, 'n_words': 449}