Odoo Help

0
1
Serpent Consulting Services Pvt. Ltd.
On 4/16/13, 9:25 AM

After reviewing your code i found that you have not return any thing in default_get method. So, you have to return res in default_get method to avoid this issue.

0
jay rawal
On 4/16/13, 8:04 AM

just need to change the following part of the code than the error is solved.

def default_get(self, cr, uid, fields, context=None):
     if context is None: context = {}
     res = super(courier_courier, self).default_get(cr, uid, fields, context=context)
     return res

It seems there is not need of this method because you are not doing anything in method.

Sudhir Arya (ERP Harbor Consulting Services)
on 4/16/13, 8:20 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/16/13, 6:54 AM
Seen: 2856 times
Last updated: 3/16/15, 8:10 AM