← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673576] Re: [6.0][account_accountant] not installing without demo data

 

*** This bug is a duplicate of bug 673564 ***
    https://bugs.launchpad.net/bugs/673564

Duplicate of my bug, no only account.accountance affected


** This bug has been marked a duplicate of bug 673564
   [TRUCK][REV 3904]impossible to use without demo data
 * You can subscribe to bug 673564 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/673564/+subscribe

-- 
[6.0][account_accountant] not installing without demo data
https://bugs.launchpad.net/bugs/673576
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

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





References