[FIX]: Remove default_get() method from project config file.

bzr revid: atp@tinyerp.com-20120615132753-l8k2xcir8u119zue
This commit is contained in:
Atul Patel (OpenERP) 2012-06-15 18:57:53 +05:30
parent 1b81db66d5
commit 00ae9a7f18
1 changed files with 0 additions and 5 deletions

View File

@ -63,11 +63,6 @@ class project_configuration(osv.osv_memory):
help="Allows you to delegate tasks to other users."),
}
def default_get(self, cr, uid, fields, context=None):
res = {}
user = self.pool.get('res.users').browse(cr, uid, uid, context)
res['time_unit'] = user.company_id.project_time_mode_id.id
return res
def _get_default_time_unit(self, cr, uid, context=None):
product_uom_obj = self.pool.get('product.uom')