projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b9c4b
)
[REV] account: Revert my previous patch about the uniqueness of description,company_i...
author
Stephane Wirtel
<stw@openerp.com>
Wed, 8 Feb 2012 09:24:06 +0000
(10:24 +0100)
committer
Stephane Wirtel
<stw@openerp.com>
Wed, 8 Feb 2012 09:24:06 +0000
(10:24 +0100)
lp bug: https://launchpad.net/bugs/928424 fixed
bzr revid: stw@openerp.com-
20120208092406
-a1nlp4bqwhd2cxqh
addons/account/account.py
patch
|
blob
|
history
diff --git
a/addons/account/account.py
b/addons/account/account.py
index
97b66f8
..
050f953
100644
(file)
--- 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):