← Back to team overview

openerp-india team mailing list archive

[Bug 766944] Re: 6.0.2: Custom-Field in res_partner_addresscauses Error with CRM-Module

 

Dear Thu,

it seems this bug is not fixed in version 603.

I have tried to add a custom field, i.e. x_Introduced, to
product.product by python code but still not created the column in
product table. Also then I rename that field to "Introduced" and
reinstall my module, get the below error. Can you please advise me on
this?

Environment Information : 
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\service\web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\osv\osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\osv\osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\osv\osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\addons\base\module\wizard\base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\addons\__init__.py", line 883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\addons\__init__.py", line 719, in load_module_graph
    init_module_objects(cr, package.name, modules)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\addons\__init__.py", line 414, in init_module_objects
    result = obj._auto_init(cr, {'module': module_name})
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\osv\orm.py", line 2655, in _auto_init
    cr.execute("COMMENT ON COLUMN %s.%s IS '%s'" % (self._table, k, f.string.replace("'", "''")))
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "D:\OpenERP\source\OpenERP_603\openerp-server-6.0.3\bin\sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "introduced" of relation "product_product" does not exist

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/766944

Title:
  6.0.2: Custom-Field in res_partner_addresscauses Error  with CRM-
  Module

Status in OpenERP Server:
  Fix Released

Bug description:
  I put some custom fields into res.partner.address. After installation of the CRM-module these custom-fields are copied into object crm.lead but as type of base-field. Then when I try to create a lead there is always an error-message concerning these fields copied to crm.lead but non existing in database-table crm_lead. Very confusing?
  Seems to be a bug in CRM-Module

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/766944/+subscriptions