Bugfix
bzr revid: pinky-2174b27a08004ef9bc775c67b3c7bccea718d359
This commit is contained in:
@@ -122,7 +122,8 @@ class module(osv.osv):
|
||||
mdemo = mdemo and self.state_change(cr, uid, ids2, newstate, context, level-1)
|
||||
if not module.dependencies_id:
|
||||
mdemo = module.demo
|
||||
self.write(cr, uid, [module.id], {'state': newstate, 'demo':mdemo})
|
||||
if module.state=='uninstalled':
|
||||
self.write(cr, uid, [module.id], {'state': newstate, 'demo':mdemo})
|
||||
demo = demo and mdemo
|
||||
return demo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user