← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 778352] Re: Crash dopo creazione nuova opportunità

 

Ciao Nicola,

per ora, se ti funziona, mantieni pure con la tua modifica.

Comunque credo che sia un problema generico della 'inheritance by
prototyping' (
http://doc.openerp.com/v6.0/developer/2_5_Objects_Fields_Methods/object_inherit.html
#extension-of-an-object ) usata da 'crm.lead' con 'res.partner.address'.

Ho aperto il bug #799378 dove è spiegato tutto

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

Title:
  Crash dopo creazione nuova opportunità

Status in OpenERP Italia:
  Confirmed

Bug description:
  Salve,

  dopo aver installato i moduli di openerpitalia sul mio openerp 6.0.2,
  non riesco più ad inserire nuove opportunità. L'errore che il client
  GTK mi dà è:

  
  Environment Information :
  System : Linux-2.6.35-28-generic-i686-with-Ubuntu-10.10-maverick
  OS Name : posix
  Distributor ID: Ubuntu
  Description: Ubuntu 10.10
  Release: 10.10
  Codename: maverick
  Operating System Release : 2.6.35-28-generic
  Operating System Version : #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : it_IT.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
  result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
  res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
  return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
  res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
  return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/pyshared/openerp-server/addons/l10n_it_base.zip/l10n_it_base/partner/partner.py", line 104, in create
  return super(res_partner_address, self).create(cr, uid, vals, context)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 3692, in create
  self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 3786, in _store_set_values
  result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
  File "/usr/share/pyshared/openerp-server/osv/fields.py", line 793, in get
  res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/usr/share/pyshared/openerp-server/addons/crm/crm_lead.py", line 68, in _compute_day
  if lead.date_closed:
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 292, in __getattr__
  return self[name]
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 205, in __getitem__
  field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 2940, in read
  result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 2999, in _read_flat
  cr.execute(query, (tuple(sub_ids),))
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 78, in wrapper
  return f(self, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 131, in execute
  res = self._obj.execute(query, params)
  ProgrammingError: column crm_lead.province does not exist
  LINE 1: ...te,crm_lead.email_cc,crm_lead.type,crm_lead.email,crm_lead.p...
  ^

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


References