跳至內容
選單
此問題已被標幟
3 回覆
8320 瀏覽次數

When i create a user and try to change the password it gives this error "Uncaught Record not correctly loaded" and then when i hit okay, the program won't load anything. all lists are blank. why is this? what can i do about it?

頭像
捨棄

Do you have more informationn in your OpenERP server logs?

作者

where do i get those logs? i am a newbie with this.

/var/log/openerp

First, check if the password is created or not.Then post your log

Applying http://bazaar.launchpad.net/~openerp/openobject-server/saas-2/revision/5017 to the 7.0 branch worked for me!

作者 最佳答案

I am a newbie. Where do i get those logs?

頭像
捨棄
最佳答案

Hi

I also was affected by this

Here is comitted bug for saas-2 and saas-3 bugs.launchpad.net/openobject-server/+bug/1280148 (not enough karma to publish links :(( )

As Yann advised you can apply this revision: bazaar.launchpad.net/~openerp/openobject-server/saas-2/revision/5017#openerp/addons/base/res/wizard/change_password_wizard.py

In /usr/lib/pymodules/python2.7/openerp/addons/base/res/wizard/change_password_wizard.py file (assuming that you are using Debian/Ubuntu installation) On line 58

change:

self.pool.get('change.password.user').unlink(cr, uid, user_ids)

to this:

self.pool.get('change.password.user').write(cr, uid, user_ids, {'new_passwd': False})

restart openerp-server and now you can change passwords.

Regards Sharif

頭像
捨棄

I have the same problem in trunk... version openerp-8.0dev_20140312_000101... but I can't find this wizard in base module... Do you know where it is? I'm using debian, installed via aptitude. Tks.

for openerp8 change.password.wizard is in /addonos/base/res/res_users.py , and the row to change is 911 . I tried the above patch and porblem seem to be solved. hope to be useful.

Adriano - Thanks the above line replacement resolved the issue on V8

最佳答案

Please explain the fix to use in windwos server 2008

thanks

Gustavo

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
3月 23
19155
2
3月 15
7019
2
9月 21
7205
4
4月 18
8643
6
12月 23
24484