← Back to team overview

openerp-india team mailing list archive

[Bug 927940] Re: Revision 6488 in account module generate error in chart tax creation

 

*** 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/927940

Title:
  Revision 6488 in account module generate error in chart tax creation

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  ~openerp/openobject-addons/trunk 
  changes in revision 6488.

  _sql_constraints = [
  --        ('name_company_uniq', 'unique(name, company_id)', 'Tax Name must be unique per company!'),
  ++        ('description_company_uniq', 'unique(description, company_id)', 'The description must be unique per company!'),
  ]

  This change generate error:

  psycopg2.IntegrityError: duplicate key value violates unique
  constraint "account_tax_description_company_uniq"

  When try to load chart for canada (l10n_ca), because many description
  is the same, like GST, PST

  Maybe same problem for other country.

  This a major bug, because now is impossible to configure account
  module !

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/927940/+subscriptions


References