Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how can i run database version 6.1 in openerp v 7.0.1.3. addons

By
m.khalid
on 6/9/14, 11:59 AM 949 views

how can i run database version 6.1 in openerp v 7.0.1.3. addons

iam try to run it but i have a got this error:

OpenERP Server Error

Client Traceback (most recent call last): File "/home/nctr/Desktop/7.0/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/home/nctr/Desktop/7.0/openerp/addons/web/controllers/main.py", line 867, in authenticate req.session.authenticate(db, login, password, env) File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 118, in authenticate if uid: self.get_context() File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 170, in get_context self.context = self.model('res.users').context_get() or {} File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/home/nctr/Desktop/7.0/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/nctr/Desktop/7.0/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/nctr/Desktop/7.0/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/home/nctr/Desktop/7.0/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/nctr/Desktop/7.0/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, *args, **kwargs) File "/home/nctr/Desktop/7.0/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/nctr/Desktop/7.0/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr return fct_src(cr, uid, model, method, *args, **kw) File "/home/nctr/Desktop/7.0/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/nctr/Desktop/7.0/openerp/tools/cache.py", line 18, in lookup r = self.lookup(self2, cr, *args) File "/home/nctr/Desktop/7.0/openerp/tools/cache.py", line 46, in lookup value = d[key] = self.method(self2, cr, *args) File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 352, in context_get res = getattr(user,k) or False File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 484, in __getattr__ return self[name] File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 799, in read res = super(users_view, self).read(cr, uid, ids, fields, context=context, load=load) File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 272, in read result = super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load) File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 3656, in _read_flat cr.execute(query, [tuple(sub_ids)] + rule_params) File "/home/nctr/Desktop/7.0/openerp/sql_db.py", line 161, in wrapper return f(self, *args, **kwargs) File "/home/nctr/Desktop/7.0/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) ProgrammingError: column res_users.login_date does not exist LINE 1: SELECT res_users."menu_id",res_users."login_date",res_users.... ^

i hope to reply

 

 

 

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/10/14, 3:16 AM

Khalid,

You have to run it first via command line, by doing -u base -d db_name!

V7 has undergone changes in the fields/columns, they will need to get upgraded first if you use the v6 db.

Thanks.

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/9/14, 11:59 AM
Seen: 949 times
Last updated: 3/16/15, 8:10 AM