I migrated a manufacturing profile database that was created in rc1 to version
5 stable. But it had a lot of errors. So I tried updgrading the database in
rc1. Suddenly, there was an error related to audittrail module.
I updated the dependencies in installing audittrail and upgraded audittrail
lastly.
When I accessed Products and clicked on a product, I got the following error:
Error Code: 2
Traceback (most recent call last):
File "/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/netsvc.py", line 387,
in run
r = m(*msg[2:])
File
"/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/service/web_services.py",
line 365, in execute
res = service.execute(db, uid, object, method, *args)
File "/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/osv/osv.py", line
108, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/osv/osv.py", line 85,
in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/osv/orm.py", line
1784, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/joseph/Desktop/openerp-server-5.0.0-rc1/bin/osv/orm.py", line
1889, in _read_flat
record[f] = res2[record['id']]
KeyError: 2
It would continue to the product item selected but the details were all deleted
except the product name. I can't use v5 because all of the critical master
data were created and saved in rc1 database because rc1 was still the latest
version then.
Any suggestions or solutions suggested would be greatly appreciated.
--
Joseph Martus Vicencio
F S 3 Consulting Inc.
http://www.fs3.ph/
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=31746#31746
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users