OpenERP error like : when we use new
'addons / web / server'
Solution :
Manual migration script to run on DB :
ALTER TABLE ir_model_fields ADD column serialization_field_id int references ir_model_fields on delete cascade;
Server Traceback (most recent call last):
File "/home/pna/workspace/6.1/web/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/pna/workspace/6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/pna/workspace/6.1/server/openerp/service/web_services.py", line 397, in dispatch
return fn(*params)
File "/home/pna/workspace/6.1/server/openerp/service/web_services.py", line 408, in exp_authenticate
res_users = pooler.get_pool(db).get('res.users')
File "/home/pna/workspace/6.1/server/openerp/pooler.py", line 50, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/home/pna/workspace/6.1/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/home/pna/workspace/6.1/server/openerp/modules/registry.py", line 180, in get
update_module, pooljobs)
File "/home/pna/workspace/6.1/server/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/pna/workspace/6.1/server/openerp/modules/loading.py", line 298, in load_modules
loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
File "/home/pna/workspace/6.1/server/openerp/modules/loading.py", line 167, in load_module_graph
models = pool.load(cr, package)
File "/home/pna/workspace/6.1/server/openerp/modules/registry.py", line 109, in load
res.append(cls.create_instance(self, cr))
File "/home/pna/workspace/6.1/server/openerp/osv/orm.py", line 919, in create_instance
obj.__init__(pool, cr)
File "/home/pna/workspace/6.1/server/openerp/osv/orm.py", line 1027, in __init__
if field['serialization_field_id']:
KeyError: 'serialization_field_id'