[6.0][account_accountant] not installing without demo data

Bug #673576 reported by Vianney - www.akretion.com.br
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hello,

I got the following error when i'm trying to install account_accountant without the demo data :

[2010-11-10 13:40:27,835][accountant] ERROR:db.cursor:bad query: insert into "res_users" (id,"menu_id","address_id","context_lang","company_id","menu_tips","active","password",create_uid,create_date) values (6,1,NULL,E'en_US',1,E'True',E'True',E'',1,now())
Traceback (most recent call last):
  File "/oerp/server/bin/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
IntegrityError: ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « name »

[2010-11-10 13:40:27,835][accountant] ERROR:tools.convert.xml_import:Parse error in /oerp/addons/account_accountant/security/account_security.xml:9:
<record id="base.user_demo" model="res.users">
            <field name="groups_id" eval="[(4, ref('account.group_account_user'))]"/>
        </record>
MODEL 68 75 name

I think it's because in /account_accountant/security/account_security.xml you're refering to base.user_demo who doesn't exist if the demo data are not installed.

Thanks

Revision history for this message
Serge (sboivin) wrote :

Duplicate of my bug, no only account.accountance affected

Revision history for this message
Vianney - www.akretion.com.br (vianneydc) wrote :

That's right, sorry i didn't see yours.

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

We also reported it as a duplicate in https://bugs.launchpad.net/openobject-addons/+bug/673576 ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.