[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
This commit is contained in:
Stephane Wirtel 2012-02-08 10:24:06 +01:00
parent d6b9c4bbbe
commit f0a31577dd
1 changed files with 1 additions and 1 deletions

View File

@ -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):