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:
6589afb
)
[FIX] account: Modify the sql constraints for the tax object, use the description...
author
Stephane Wirtel
<stw@openerp.com>
Mon, 6 Feb 2012 13:56:58 +0000
(14:56 +0100)
committer
Stephane Wirtel
<stw@openerp.com>
Mon, 6 Feb 2012 13:56:58 +0000
(14:56 +0100)
bzr revid: stw@openerp.com-
20120206135658
-5i35qm0dyyf4i6kl
addons/account/account.py
patch
|
blob
|
history
diff --git
a/addons/account/account.py
b/addons/account/account.py
index
92e6984
..
0019c0e
100644
(file)
--- a/
addons/account/account.py
+++ b/
addons/account/account.py
@@
-1883,7
+1883,7
@@
class account_tax(osv.osv):
}
_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!'),
]
def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80):