Skip to Content
Menu
This question has been flagged
2 Replies
2932 Views

Hello, 

I would like to create new ODOO database, but when i try, i get this erreur :


Database creation error: "null value in column "password" violates not-null constraint DETAIL: Failing row contains (6, f, public, null, 1, 8, 2017-09-21 10:27:01.652729, f, 1, 1, null, 2017-09-21 10:27:01.652729, null). " while parsing /usr/lib/python2.7/dist-packages/odoo/addons/base/base_data.xml:97, near <record id="public_user" model="res.users"> <field name="name">Public user</field> <field name="login">public</field> <field name="password"/> <!-- Avoid auto-including this demo user in any default group --> <field name="groups_id" eval="[(6,0,[])]"/> <field name="image" type="base64" file="base/static/img/public_user-image.png"/> <field name="partner_id" ref="public_partner"/> <field name="active" eval="False"/> </record>

Any help please ?

Avatar
Discard
Best Answer

In the file '.../basedata.xml' Try to replace the ligne <field name="password"/> by this one

<field name="password"></field>

 give us a feedback about that.

Avatar
Discard
Author

OK Saha i will try it. Thank you

Best Answer

Is a password present in the conf file?

Depending on install :

/etc/odoo/odoo.conf

admin_passwd = **

Avatar
Discard
Author

Hi Jan, really i don't know