Odoo Help

0

error in context evaluation [Closed]

By
Pablo Manuel Rizzo
on 11/1/13, 12:05 PM 1,348 views

The Question has been closed

by
Ray Carnes
on 11/01/2013 18:45:41

We have this piece of code:

            <field name="activity" context="account_id=account_id"/>

Which gives this error in Oerp v7:

OpenERP Error en el cliente    
Error: SyntaxError: Unknown node [[=]]
/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

1
Ray Carnes
On 11/1/13, 12:55 PM

The format of context is wrong, it needs to be a Python dictionary.

See https://accounts.openerp.com/forum/Help-1/question/2236

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.

Register

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

1 follower(s)

Stats

Asked: 11/1/13, 12:05 PM
Seen: 1348 times
Last updated: 3/16/15, 8:10 AM