Skip to Content
मेन्यू
This question has been flagged
2 Replies
12707 Views

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

Avatar
Discard
Best Answer
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:

Avatar
Discard

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

Related Posts Replies Views Activity
2
जून 24
1608
4
नव॰ 21
4652
2
जून 20
5462
1
मई 20
5218
1
मई 20
3202