Traceback (most recent call last):
File "/home/caritas/openerp-server-6.0.3/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/caritas/openerp-server-6.0.3/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/caritas/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 "/home/caritas/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 "/home/caritas/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 "/home/caritas/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 "/home/caritas/openerp-server-6.0.3/bin/addons/__init__.py", line 719, in load_module_graph
init_module_objects(cr, package.name, modules)
File "/home/caritas/openerp-server-6.0.3/bin/addons/__init__.py", line 414, in init_module_objects
result = obj._auto_init(cr, {'module': module_name})
File "/home/caritas/openerp-server-6.0.3/bin/osv/orm.py", line 2686, in _auto_init
cr.execute('ALTER TABLE "%s" ADD FOREIGN KEY ("%s") REFERENCES "%s" ON DELETE %s' % (self._table, k, ref, f.ondelete))
File "/home/caritas/openerp-server-6.0.3/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/caritas/openerp-server-6.0.3/bin/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "cbase_indigente" does not exist