[IMP] decimal_precision: better constraint error message

bzr revid: odo@openerp.com-20100922165247-zmowte1j492lwfeg
This commit is contained in:
Olivier Dony 2010-09-22 18:52:47 +02:00
parent 5a2baadf2e
commit 65dd1ccf79
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class decimal_precision(osv.osv):
}
_sql_constraints = [
('name_uniq', 'unique (name)', """The Usage of the decimal precision must be unique!"""),
('name_uniq', 'unique (name)', """Only one value can be defined for each given usage!"""),
]
@cache(skiparg=3)