Public bug reported:
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
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1227512
Title:
[Trunk] : Unable to immediate install multiple modules at a time
Status in OpenERP Addons (modules):
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1227512/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp