Odoo Help

Welcome!

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.

0

error in context evaluation [Closed]

By
Pablo Manuel Rizzo
on 11/1/13, 12:05 PM 1,043 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

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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