Dopo aver sistemato l'altro errore ora mi da cmq questo messaggio all'update che cosa potrebbe essere??? è mai capitato a qualc'uno?
2013-05-25 14:27:55,602 1512 ERROR ModernaOfficina openerp.sql_db: bad query: delete from product_uom_categ where id IN (6)
Traceback (most recent call last):
File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
IntegrityError: ERRORE: valori null nella colonna "uom_id" violano il vincolo non-null
CONTESTO: istruzione SQL "UPDATE ONLY "public"."product_template" SET "uom_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "uom_id""
2013-05-25 14:27:55,606 1512 ERROR ModernaOfficina openerp: Failed to initialize database `ModernaOfficina`.
Traceback (most recent call last):
File "/opt/openerp/server/openerp/cli/server.py", line 97, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
File "/opt/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/registry.py", line 192, in get
update_module)
File "/opt/openerp/server/openerp/modules/registry.py", line 218, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 379, in load_modules
pool.get('ir.model.data')._process_end(cr, SUPERUSER_ID, processed_modules)
File "/opt/openerp/server/openerp/addons/base/ir/ir_model.py", line 1120, in _process_end
self.pool.get(model).unlink(cr, uid, [res_id])
File "/opt/openerp/server/openerp/osv/orm.py", line 3974, in unlink
'where id IN %s', (sub_ids,))
File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
IntegrityError: ERRORE: valori null nella colonna "uom_id" violano il vincolo non-null
CONTESTO: istruzione SQL "UPDATE ONLY "public"."product_template" SET "uom_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "uom_id""