[Trunk] : Unable to immediate install multiple modules at a time

Bug #1227512 reported by DBR (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Medium
OpenERP's Framework R&D

Bug Description

Hello,

Tested with latest trunk on runbt base DB.
Try to install multiple module at a glance with the help of More button 'Module Immediate install'.

Expected:
Selected modules should be installed

Result:
 File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/base/ir/ir_actions.py", line 1028, in run
    res = getattr(self, 'run_action_%s' % action.state)(cr, uid, action, eval_context=eval_context, context=run_context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/base/ir/ir_actions.py", line 866, in run_action_code
    eval(action.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/tools/safe_eval.py", line 246, in safe_eval
    return eval(c, globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/base/module/module.py", line 435, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/base/module/module.py", line 486, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/modules/registry.py", line 232, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/modules/loading.py", line 332, in load_modules
    loaded_modules, update_module)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/modules/loading.py", line 235, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/modules/loading.py", line 168, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/modules/loading.py", line 112, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/tools/convert.py", line 887, in convert_file
    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/tools/convert.py", line 955, in convert_csv_import
    raise Exception(_('Module loading failed: file %s/%s could not be processed:\n %s') % (module, fname, warning_msg))
ValueError: "Module loading failed: file l10n_be_hr_payroll_account/l10n_be_hr_payroll_account/data/hr.salary.rule.csv could not be processed:
 Line 1 : No matching record found for name '4530' in field 'Debit Account'" while evaluating
u"self.button_immediate_install(cr, uid, context.get('active_ids', []), context=context)"

Thanks,
Devishree

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.