Odoo Help


Salary rule

Umashankar Subramani
on 1/29/15, 3:00 AM 749 views


   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"?>
  <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')])]" />

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,

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/29/15, 3:00 AM
Seen: 749 times
Last updated: 3/16/15, 8:10 AM