Passing parameters to forms and actions – Context

Internally, every method in Odoo has access to a dictionary, called context, that is propagated from every action to the methods involved in delivering that action. The UI also has access to it, and it can be modified in various ways by setting values in the context. In this recipe, we'll explore some of the applications of this mechanism by toying with the language, default values, and implicit filters.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset