Odoo Help


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.


error in context evaluation?

Pablo Manuel Rizzo
on 11/1/13, 11:46 AM 450 views

We have this piece of code:

<record id="hr_timesheet_line_tree" model="ir.ui.view">
    <field name="name">hr.analytic.timesheet.tree</field>
    <field name="model">hr.analytic.timesheet</field>
    <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
    <field name="type">tree</field>
    <field name="arch" type="xml">
        <xpath expr="/tree/field[@name='account_id']" position="after">
            <field name="activity" context="account_id=account_id"/>

Which gives this error in Oerp v7:

OpenERP Error en el cliente

Error: SyntaxError: Unknown node [[=]]


Looks like related to this:


Any idea on how to fix it? Thanks

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

0 follower(s)


Asked: 11/1/13, 11:46 AM
Seen: 450 times
Last updated: 3/16/15, 8:10 AM