From 37af63fd83d24128b56a5d933fec41f7ef8be6ee Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Thu, 7 Mar 2013 16:54:31 +0100 Subject: [PATCH] Replace _constraints with validate in ModelStorage and improve user messages. issue2616 review371002 --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock.py b/stock.py index 3cb8fb7211..1979b565ed 100644 --- a/stock.py +++ b/stock.py @@ -21,7 +21,7 @@ class Move: cls._sql_constraints += [ ('check_anglo_saxon_quantity', 'CHECK(quantity >= anglo_saxon_quantity)', - 'Anglo-Saxon quantity can not be greater than quantity!'), + 'Anglo-Saxon quantity can not be greater than quantity.'), ] @staticmethod