Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3115 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 25
1411
0
ก.ค. 22
2467
3
ก.ย. 20
3127
Significance of context ? แก้ไขแล้ว
2
ธ.ค. 15
4729
0
มี.ค. 15
3458