[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:
parent
d6b9c4bbbe
commit
f0a31577dd
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue