This question has been flagged
2193 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"/>
        </xpath>
    </field>
</record>

Which gives this error in Oerp v7:

OpenERP Error en el cliente

Error: SyntaxError: Unknown node [[=]]

http://fmsb.naltu.com:18069/web/static/lib/py.js/lib/py.js:1430

Looks like related to this:

https://code.launchpad.net/~openerp-dev/openerp-web/trunk-evaluator-evaldomainandcontext-assertions-xmo/+merge/95359

Any idea on how to fix it? Thanks

Avatar
Discard