← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 672461] Re: Problem in the configuration wizard when setting the sale tax to 21%

 

Delphine, you can't install multiple charts of account for the same company, are you sure you did not try to do that?
Maybe you had installed one previously and forgot about it.. that's what as Jay says, the warning is correct.

The steps you describe do not trigger the error for me (it used to be
the case a long time ago, are you sure you have the latest trunk too?)

Thanks!

-- 
Problem in the configuration wizard when setting the sale tax to 21%
https://bugs.launchpad.net/bugs/672461
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: Invalid

Bug description:
* Create a new database with CRM and Sale modules. 
* Select the "Generic Chart Of Account" and set the sale tax to "21.00"
* Continue 

The following error is reported : 

"ERROR:db.cursor:bad query: insert into "account_account" (id,"note","code","reconcile","parent_id","user_type","shortcut","company_id","currency_id","currency_mode","active","type","name",create_uid,create_date) values (67,NULL,E'0',E'False',NULL,21,NULL,1,NULL,E'current',E'True',E'view',E'OpenERP S.A.',1,now())
Traceback (most recent call last):
  File "/home/openerp/trunk/server/bin/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
IntegrityError: ERREUR:  la valeur d'une clé dupliquée rompt la contrainte unique « account_account_code_company_uniq »"





References