Odoo Help

2
9 Answers
1
Avatar

Jusab Sida (jsi)

--Jusab Sida (jsi)--
1221
| 2 2 5
Gandhinagar, India
--Jusab Sida (jsi)--


Jusab Sida (jsi)
10/6/17, 9:33 AM

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

Thanks,

1 Comment
Nehemias Herrera
2/17/18, 11:29 AM

This solved my issue, thanks

3
Avatar

Prakash

--Prakash--

3546
| 5 6 7
Bikaner, India
--Prakash--

OpenERP Developer at SunARC Technology

Prakash
7/1/16, 3:43 AM

Check your User CSV file Login form mandatory fields are included

Login form mandatory fields are:

"login"

"Related Partner"

1
Dev12
8/14/15, 6:51 AM

+1

I just got into the very same error!

1 Comment
Nehemias Herrera
10/21/15, 10:09 PM

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

0
Herve GUERIN
10/6/17, 5:50 AM

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>


0
Lan Pham
2/14/17, 2:29 AM

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

0
Avatar

Akhil P Sivan

--Akhil P Sivan--

4429
| 5 4 7
Kochi, India
--Akhil P Sivan--

Odoo Developer

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
10/21/15, 11:14 PM

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.

0
Swan
7/2/16, 3:04 PM

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.

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now