Hello, I am new at openERP7, I want to know the function of the parameter 'context'. Thank you for your answer?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
4211
Vistas
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'}
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse