[IMP] decimal_precision: better constraint error message
bzr revid: odo@openerp.com-20100922165247-zmowte1j492lwfeg
This commit is contained in:
parent
5a2baadf2e
commit
65dd1ccf79
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue