← 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%

 

Hello Delphine,

This is not an error, but just a warning getting popped up as 'The code
of the account must be unique per company !'.

This is a warning for end user who is trying to create a chart of
account for X company,but this is already created. e.g. chart of account
of belgium for OpenERP SA will not be allowed.

Thanks.

** Changed in: openobject-server
       Status: New => Invalid

-- 
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 Server: 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