Odoo Help


Function of the parameter 'context'?

on 5/13/13, 9:37 AM 959 views

Hello, I am new at openERP7, I want to know the function of the parameter 'context'. Thank you for your answer?


Hi In OpenERP context is a dictionary parameter used to define default values, which are used many time and some special values you want this is a default parameter ( means you can use send this DIC variable from fuction call or not ) and use to default values like your field name "name" context={'default_name' : 'xyz'}

example : language value context={'lang':'US_en'}

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: 5/13/13, 9:37 AM
Seen: 959 times
Last updated: 3/16/15, 8:10 AM