Installato il modulo I10n_it_base iniziative e opportunità non va

Bug #799192 reported by Nicola Raffaele Di Matteo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Italia
New
Undecided
Unassigned

Bug Description

Effetto:
Una volta installato il modulo I10n_it_base non è più possibile salvare una iniziativa o opportunità.

Come ho riprodotto l'errore:
Installo il modulo I10n_it_base in tutti i modi possibili (file .zip, file scompattato nella directory, installazione modulo diretta).
L'errore è stato riprodotto su un db nuovo con dati di prova dove ho messo solo il modulo crm.

Possibile bug:
Nella tabella crm_lead non ci sono i campi province e region.

Soluzione test:
Creando i campi province e region nella tabella crm_lead riprende a funzionare

Ottengo l'errore che riporto in calce.

Grazie e saluti.

Errore riportato al salvataggio di una iniziativa o opportunità:
Environment Information :
System : Linux-2.6.38-8-generic-x86_64-with-Ubuntu-11.04-natty
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
Operating System Release : 2.6.38-8-generic
Operating System Version : #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : it_IT.UTF8
Python Version : 2.7.1+
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/nicola/openerp/openerp-server-6.0.2/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/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 "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 3692, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 3786, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/fields.py", line 793, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/addons/crm/crm_lead.py", line 68, in _compute_day
if lead.date_closed:
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 292, in __getattr__
return self[name]
File "/home/nicola/openerp/openerp-server-6.0.2/bin/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 "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 2940, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 2999, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/nicola/openerp/openerp-server-6.0.2/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/nicola/openerp/openerp-server-6.0.2/bin/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
ProgrammingError: column crm_lead.province does not exist
RIGA 1: ...te,crm_lead.email_cc,crm_lead.type,crm_lead.email,crm_lead.p...
^

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.