Merge lp:~openerp-dev/openobject-server/trunk-bug-1084395-aja into lp:openobject-server

Proposed by ajay javiya (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-server/trunk-bug-1084395-aja
Merge into: lp:openobject-server
Diff against target: 34 lines (+11/-2)
2 files modified
openerp/addons/base/module/wizard/base_module_update.py (+11/-1)
openerp/addons/base/module/wizard/base_module_update_view.xml (+0/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-server/trunk-bug-1084395-aja
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+139869@code.launchpad.net

Description of the change

Hello,
Fix issue Update Module List popup wizard close unexpectedly after update :
> It will show the result of update, i.e., how many new module etc.
Thank You.

To post a comment you must log in.

Unmerged revisions

4685. By ajay javiya (OpenERP)

[FIX]: Update module list wizard close unexpectadly

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'openerp/addons/base/module/wizard/base_module_update.py'
--- openerp/addons/base/module/wizard/base_module_update.py 2012-10-12 12:24:19 +0000
+++ openerp/addons/base/module/wizard/base_module_update.py 2012-12-14 11:25:31 +0000
@@ -40,7 +40,17 @@
40 module_obj = self.pool.get('ir.module.module')40 module_obj = self.pool.get('ir.module.module')
41 update, add = module_obj.update_list(cr, uid,)41 update, add = module_obj.update_list(cr, uid,)
42 self.write(cr, uid, ids, {'update': update, 'add': add, 'state': 'done'}, context=context)42 self.write(cr, uid, ids, {'update': update, 'add': add, 'state': 'done'}, context=context)
43 return False43 return {
44 'name':'Module Update Result',
45 'view_type': 'form',
46 'view_mode': 'form',
47 'view_id': False,
48 'res_model': 'base.module.update',
49 'domain': [],
50 'type': 'ir.actions.act_window',
51 'target': 'new',
52 'res_id': ids and ids[0] or False,
53 }
4454
45 def action_module_open(self, cr, uid, ids, context):55 def action_module_open(self, cr, uid, ids, context):
46 res = {56 res = {
4757
=== modified file 'openerp/addons/base/module/wizard/base_module_update_view.xml'
--- openerp/addons/base/module/wizard/base_module_update_view.xml 2012-08-17 07:25:55 +0000
+++ openerp/addons/base/module/wizard/base_module_update_view.xml 2012-12-14 11:25:31 +0000
@@ -8,7 +8,6 @@
8 <field name="arch" type="xml">8 <field name="arch" type="xml">
9 <form string="Update Module List" version="7.0">9 <form string="Update Module List" version="7.0">
10 <field name="state" invisible="1"/>10 <field name="state" invisible="1"/>
11 <separator string="Module Update Result"/>
12 <group states="init">11 <group states="init">
13 <label string="Click on Update below to start the process..." />12 <label string="Click on Update below to start the process..." />
14 </group>13 </group>