← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 657331] Re: Uninstallation of a module doesn't remove ir_values.

 

Indeed, currently the uninstallation feature is still beta, and can cause this kind of undesired errors.
We're planning to improve this in the future (after v6.0), but currently the best thing to do if you are unsure about installing a module, is to make a backup of the database before, and restore it immediately after testing the module, if you don't plan to keep it.

Of course this should not be done at all on a production database, but
only on test/staging database.

I'm marking this bug as "Wishlist" to keep it in the radar for
improvement after v6.0.

Thanks for reporting!

** Changed in: openobject-server
   Importance: Low => Wishlist

** Changed in: openobject-server
    Milestone: 6.0-rc2 => None

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/657331

Title:
  Uninstallation of a module doesn't remove ir_values.

Status in OpenObject Server:
  Confirmed

Bug description:
  I have created a few projects and tasks and everything was fine.

But now when I try to open "Project > Project Management > Projects" there is a crash that happens on both web and gtk clients.

OpenERP 6.0dev (brazilian localization). openerp/addons revno 4201. 

Environment Information :
System : Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:        10.04
Codename:       lucid
Operating System Release : 2.6.32-24-generic
Operating System Version : #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : pt_BR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most
recent call last):
  File "/opt/openerp/server/bin/netsvc.py", line 480, in dispatch
    result = ExportService.getService(service_name).dispatch(method,
auth, params)
  File "/opt/openerp/server/bin/service/web_services.py", line 586, in
dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/bin/osv/orm.py", line 1747, in
fields_view_get
    context)
  File "/opt/openerp/server/bin/addons/base_calendar/
base_calendar.py", line 1780, in get
    meta, context, res_id_req, without_user, key2_req)
  File "/opt/openerp/server/bin/addons/base/ir/ir_values.py", line
221, in get
    res = filter(bool, map(lambda x: _result_get(x, keys),
list(result)))
  File "/opt/openerp/server/bin/addons/base/ir/ir_values.py", line
221, in <lambda>
    res = filter(bool, map(lambda x: _result_get(x, keys),
list(result)))
  File "/opt/openerp/server/bin/addons/base/ir/ir_values.py", line
207, in _result_get
    datas = self.pool.get(model).read(cr, uid, [id], fields, context)
  File "/opt/openerp/server/bin/addons/hr/hr_department.py", line 98,
in read
    res = super(ir_action_window, self).read(cr, uid, select,
fields=fields, context=context, load=load)
  File "/opt/openerp/server/bin/osv/orm.py", line 2974, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/opt/openerp/server/bin/osv/orm.py", line 3126, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user,
context=context, values=res)
  File "/opt/openerp/server/bin/osv/fields.py", line 689, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/opt/openerp/server/bin/addons/base/ir/ir_actions.py", line
158, in _views_get_fnc
    modes = act.view_mode.split(',')
AttributeError: 'bool' object has no attribute 'split'