From 684c17c1430c50525064cf99baee989b9ce6fc1f Mon Sep 17 00:00:00 2001 From: bch <> Date: Wed, 17 Jan 2007 14:07:28 +0000 Subject: [PATCH] ORM : debug : error message on python constraints are now displayed correctly bzr revid: bch-4da003a23784f2807cdc851069931a166cc51307 --- addons/l10n_ch/dta/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_ch/dta/invoice.py b/addons/l10n_ch/dta/invoice.py index 324f7e39924..40109196b9e 100644 --- a/addons/l10n_ch/dta/invoice.py +++ b/addons/l10n_ch/dta/invoice.py @@ -53,7 +53,7 @@ class account_invoice(osv.osv): return True _constraints = [ - (_check_bvr, 'Error ! Invalid Bvr Number.', ['bvr_ref_num']) + (_check_bvr, 'Error ! Invalid Bvr Number.', ['']) ]