Odoo Help


error with context evaluation?

Pablo Manuel Rizzo
on 11/1/13, 11:28 AM 985 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

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

0 follower(s)


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