Odoo Help


how to use default_get() method in openerp 7.0

on 5/10/13, 5:44 AM 6,840 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

On 5/10/13, 6:26 AM
def default_get(self, cr, uid, fields, context=None):
    data = super(curent_object, self).default_get(cr, uid, fields, context=context)
    return data

This is a sample example of default_get:

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

Ankit H Gandhi(AHG)
on 2/19/15, 5:09 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/10/13, 5:44 AM
Seen: 6840 times
Last updated: 3/16/15, 8:10 AM