openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06487
[Bug 927707] Re: [6.1 trunk] [base_contact] data lost on install
also, when trying to open the partner address, i get this, due to the same missing field:
Environment Information :
System : Linux-3.0.0-15-generic-i686-with-Ubuntu-11.10-oneiric
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-15-generic
Operating System Version : #26-Ubuntu SMP Fri Jan 20 15:59:53 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : fr_CH.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.1rc1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/netsvc.py", line 324, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/service/web_services.py", line 591, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/osv.py", line 175, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 3381, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 3504, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/fields.py", line 1052, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/fields.py", line 1128, in _fnct_read
self._field_get2(cr, uid, obj, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/fields.py", line 1190, in _field_get2
f = obj.pool.get(obj_name).fields_get(cr, uid, [self._arg[i]], context=context)[self._arg[i]]
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 3329, in fields_get
res_trans = translation_obj._get_source(cr, user, self._name + ',' + f, 'field', context.get('lang', False) or 'en_US')
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/addons/base/ir/ir_translation.py", line 283, in _get_source
(lang or '', types, tools.ustr(name)))
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/sql_db.py", line 214, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block
--
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/927707
Title:
[6.1 trunk] [base_contact] data lost on install
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Hello,
While I think this module should not exist at all, and its features
transferred to the base module, I will leave this to you :-)
However, I think there is a "ugly" feature right now:
1. create some partner data without base_contact, *including* a mobile number (it might "work" for other fields, to be checked).
2. install base_contact.
3. the mobile number is... LOST!
this is very annoying, especially when you have hundreds of records.
thank you,
Bogdan
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/927707/+subscriptions
References