Skip to Content
मेन्यू
This question has been flagged
3607 Views

Hi,

   I tried to create a new salary structure using xml, i got this error please anyone suggest me how to clear this

My code

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
  <record id="New_salary_rule" model="hr.payroll.structure">
  <field name="name">Kenya Payroll</field>
  <field name="code">Kenya</field>
  <field name="parent_id"></field>
  <field name="rule_ids" eval="[(6, 0, [ref('hr_rule_basic'), ref('hr_rule_taxable'),ref('hr_rule_net')])]" />
  </record>
 
  </data>
 </openerp>

I got this error

ParseError: "unexpected EOF while parsing
('<string>', 1, 30, "[(6, 0, [ref('csv_ken_basic')]")" while parsing /home/umashankar/Uma/Odoo8.0/openerp/addons/hr_payroll_kenya/view_4.xml:4,

Avatar
Discard