콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
9 답글
20776 화면

Hello All

I got following error

Unknown error during import: <class 'openerp.exceptions.RedirectWarning'>: (u'You cannot create a new user from here.\n To create new user please go to configuration panel.', 76, u'Go to the configuration panel') at row 2

Resolve other errors first


while importing user.csv from create user(import button)


can we create user by importing data???

if any idea plz tell


thanks in advanced.

아바타
취소

were you able to solve this ?

베스트 답변

Check your User CSV file Login form mandatory fields are included

Login form mandatory fields are:

"login"

"Related Partner"

아바타
취소
베스트 답변

It will appear only when 'login' field is blank/not given in file.

Thanks,

아바타
취소

This solved my issue, thanks

베스트 답변

Thanks you Prakash for list of mandatory fields,  

Here is my full xml sample :


    <record id="myuser" model="res.users">

         <field name="name">myuser bla bla</field>

         <field name="login">myuser_bla_bla</field> 

         <field name="partner_id" eval="ref('base.main_partner')"/> <!-- base.main_partner is the external id of a res_partner -->

         <field name="comment">User for my website interface</field> 

          <field name="groups_id" eval="[(4, ref('mymodule.mypublicgroup')) ]"/> <!-- mymodule.mypublicgroup is the external id of a res_group to give some rights to my new user -->

    </record>


아바타
취소
베스트 답변

+1

I just got into the very same error!

아바타
취소

any success with the error ? just ran into the error too

베스트 답변

In my case I just added some dummy data and create two user accounts first from the interface level and then I export those in to an excel sheet by using export button in Tree-view. Then again I created my csv file according to that file and then Import it again without any error.

아바타
취소
베스트 답변

Can you try with a fresh database without demo data? Demo data from some module may be causing the error. I think you may find the error causing file from the error log.

아바타
취소
베스트 답변

Prakash's answer works for me. To import users from cvs/xls file just need minimum two fields: Name and Login (email).

아바타
취소
관련 게시물 답글 화면 활동
2
1월 16
3358
0
12월 15
4043
1
7월 18
4358
1
3월 18
3553
1
3월 16
3480