Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
12696 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns
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:

Imagine profil
Abandonează

Thanks@ Lakhsam Give you +1 vote,this code very helpfull me

Related Posts Răspunsuri Vizualizări Activitate
2
iun. 24
1606
4
nov. 21
4641
2
iun. 20
5458
1
mai 20
5205
1
mai 20
3189