[IMP]: TASK of REWORK- Remove Upgrade call
bzr revid: aag@tinyerp.co.in-20110329091647-lzs4ixakt6si816q
This commit is contained in:
parent
a7e6873ec0
commit
acfe39b362
|
@ -286,9 +286,7 @@ class module(osv.osv):
|
|||
return demo
|
||||
|
||||
def button_install(self, cr, uid, ids, context=None):
|
||||
upgrade_obj = self.pool.get('base.module.upgrade')
|
||||
self.state_update(cr, uid, ids, 'to install', ['uninstalled'], context)
|
||||
upgrade_obj.upgrade_module(cr, uid, ids, context=context)
|
||||
return {
|
||||
'name': _('Install'),
|
||||
'view_type': 'form',
|
||||
|
|
Loading…
Reference in New Issue