[IMP]: base_setup: in the main config wizard: we should have as before, if a module is installed, then it should appear as ticked and readonly
bzr revid: rpa@tinyerp.com-20110513090009-gbfvlv7tqbwx6d2f
This commit is contained in:
@@ -105,17 +105,7 @@ class base_setup_installer(osv.osv_memory):
|
||||
progress = 10.
|
||||
|
||||
return {'value':value}
|
||||
|
||||
|
||||
def default_get(self, cr, uid, fields_list, context=None):
|
||||
#Skipping default value as checked for main application, if already installed
|
||||
return super(osv.osv_memory, self).default_get(
|
||||
cr, uid, fields_list, context=context)
|
||||
|
||||
def fields_get(self, cr, uid, fields=None, context=None, write_access=True):
|
||||
#Skipping readonly value for main application, if already installed
|
||||
return super(osv.osv_memory, self).fields_get(
|
||||
cr, uid, fields, context, write_access)
|
||||
|
||||
def execute(self, cr, uid, ids, context=None):
|
||||
if context is None:
|
||||
|
||||
Reference in New Issue
Block a user