From f0a31577ddf747892717fdcef3fc51f12e4fcfe2 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Wed, 8 Feb 2012 10:24:06 +0100 Subject: [PATCH] [REV] account: Revert my previous patch about the uniqueness of description,company_id for the tax lp bug: https://launchpad.net/bugs/928424 fixed bzr revid: stw@openerp.com-20120208092406-a1nlp4bqwhd2cxqh --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 97b66f84ff0..050f953f85b 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1884,7 +1884,7 @@ class account_tax(osv.osv): } _sql_constraints = [ - ('description_company_uniq', 'unique(description, company_id)', 'The description must be unique per company!'), + ('name_company_uniq', 'unique(name, company_id)', 'Tax Name must be unique per company!'), ] def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80):