i am migrating the module from openerp 6.1 to 7.0 and i have used default get method, that is not working in openerp 7.0
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
2
Respuestas
12687
Vistas
def default_get(self, cr, uid, fields, context=None):
data = super(curent_object, self).default_get(cr, uid, fields, context=context)
data['field']=value
return data
This is a sample example of default_get:
Thanks@ Lakhsam Give you +1 vote,this code very helpfull me
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
jun 24
|
1605 | ||
|
4
nov 21
|
4630 | ||
|
2
jun 20
|
5451 | ||
|
1
may 20
|
5199 | ||
|
1
may 20
|
3184 |