← Back to team overview

openerp-india team mailing list archive

[Bug 927707] Re: [6.1 trunk] [base_contact] data lost on install

 

thank you for the fix!

not checked yet, but just in case, when *uninstalling* the module, i get
the following traceback, as the field was deleted from
res.partner.address:

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 3440, in _read_flat
    cr.execute(query, (tuple(sub_ids),))
  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)
ProgrammingError: column res_partner_address.mobile does not exist
LINE 1: ...partner_address."fax",res_partner_address."title",res_partne...
                                                             ^

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