openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06570
[Bug 928371] Re: l10n_ca: Failing on New Company Financial Setting
*** This bug is a duplicate of bug 928424 ***
https://bugs.launchpad.net/bugs/928424
** This bug has been marked a duplicate of bug 928424
[6.1, account] Tax description should not have uniqueness constraint
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/928371
Title:
l10n_ca: Failing on New Company Financial Setting
Status in OpenERP Addons (modules):
Confirmed
Bug description:
On latest trunk [addons #6500] build on a fresh install attempting to
create accounts using the New Company Financial Setting wizard (on
both web and gtk client) results in an error. Visible error box
shows:
Constraint Error
The description must be unique per company!
Console shows the following error:
[2012-02-07 16:53:03,474][?] ERROR:db.cursor:bad query: insert into "account_tax" (id,"domain","description","ref_tax_code_id","sequence","ref_base_sign","type_tax_use","base_code_id","base_sign","child_depend","include_base_amount","active","ref_base_code_id","ref_tax_sign","applicable_type","company_id","name","tax_code_id","parent_id","amount","python_compute","tax_sign","python_compute_inv","python_applicable","type","price_include",create_uid,create_date) values (5,NULL,'GST',8,1,1.0,'all',13,1.0,'False','True','True',17,1.0,'true',1,'GST - 5% (PE)',4,4,'0.0500','# price_unit
# address: res.partner.address object or False
# product: product.product object or None
# partner: res.partner object or None
result = price_unit * 0.10',1.0,'# price_unit
# address: res.partner.address object or False
# product: product.product object or False
result = price_unit * 0.10',NULL,'percent','False',1,now())
Traceback (most recent call last):
File "/home/openerp/openobject-server/openerp/sql_db.py", line 214, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "account_tax_description_company_uniq"
DETAIL: Key (description, company_id)=(GST, 1) already exists.
Choosing another l10n locale doesn't produce this error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/928371/+subscriptions
References