← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692069] Re: Cannot "Cancel Uninstall" point_of_sale

 

Hello Phong,

Thank you for your suggestion! However this is unfortunately out of the
scope of the current OpenERP release, so we cannot implement it.

Thanks.

** Changed in: openobject-addons
   Importance: Undecided => Wishlist

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
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/692069

Title:
  Cannot "Cancel Uninstall" point_of_sale

Status in OpenObject Addons Modules:
  Won't Fix

Bug description:
  I tried to uninstall module 'point_of_sale' but can't because of the references to wkf.workitem (Integrity Error\n\nThe operation cannot be completed, probably due to the following:\n- deletion: you may be trying to delete a record while other records still reference it\n- creation/update: a mandatory field is not correctly set\n\n[object with reference: wkf_workitem - wkf.workitem]\n).

Now I also CANNOT 'Cancel Uninstall' as it generates the error below

addons/ : 4017 chs@xxxxxxxxxxx-20101216112752-9xg4i9ompw1bi81v
addons-community/ : 292 fran@fran-pc-20101213182241-2fogs8yh5u4ma31q
addons-extra/ : 5098 sebastien.beau@xxxxxxxxxxxxxxx-20101216111109-sts0gvimew1ro8xl
server/ : 3120 odo@xxxxxxxxxxx-20101216100749-z06fv08n4u5rhwl0

Environment Information : 
System : Linux-2.6.32-26-generic-x86_64-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-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1724 launchpad_translations_on_behalf_of_openerp-20101218050213-azd4pe4jzs7pobsx
Traceback (most recent call last):
  File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/module/module.py", line 308, in button_uninstall_cancel
    self.write(cr, uid, ids, {'state': 'installed'})
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 3597, in write
    self.pool.get(object)._store_set_values(cr, user, todo, fields, context)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 3889, in _store_set_values
    ','.join(upd0) + ' where id = %s', upd1)
  File "/var/local/software/openerp-v6.0dev/server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/var/local/software/openerp-v6.0dev/server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block





References