Odoo Help

Welcome!

This community 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.

0

Salary rule

By
Umashankar Subramani
on 1/29/15, 3:00 AM 462 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,

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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