Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8523 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

Do you have more informationn in your OpenERP server logs?

Tác giả

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!

Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

Please explain the fix to use in windwos server 2008

thanks

Gustavo

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 23
20491
2
thg 3 15
7273
Admin User Missing Đã xử lý
2
thg 9 21
7384
4
thg 4 18
8836
6
thg 12 23
24740