Odoo Help


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.


Function of the parameter 'context'?

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

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



| 6 5 8
Delhi, India
Python OpenERP Developer http://in.linkedin.com/pub/sandeep-rana/3b/a16/786/
On 5/13/13, 9:45 AM

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'}

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 5/13/13, 9:37 AM
Seen: 675 times
Last updated: 3/16/15, 8:10 AM