From c6b39a1013cf23748435e6ee5c0c7c4d8f866426 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Sun, 9 Sep 2012 09:53:45 -0400 Subject: [PATCH] [FIX] column mgmtsystem_kpi_threshold_range_rel.threshold_id does not exist --- mgmtsystem_kpi/mgmtsystem_kpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgmtsystem_kpi/mgmtsystem_kpi.py b/mgmtsystem_kpi/mgmtsystem_kpi.py index 31a6e3cbc..2670a15c1 100644 --- a/mgmtsystem_kpi/mgmtsystem_kpi.py +++ b/mgmtsystem_kpi/mgmtsystem_kpi.py @@ -148,7 +148,7 @@ class mgmtsystem_kpi_threshold_range(osv.osv): 'max_code': fields.text('Maximum Computation Code'), 'max_dbsource_id': fields.many2one('base.external.dbsource','External DB Source'), 'color': fields.char('Color', help='RGB code with #', size=7, required=True), - 'threshold_ids': fields.many2many('mgmtsystem.kpi.threshold','mgmtsystem_kpi_threshold_range_rel', 'range_id', 'Threshold_id', 'Thresholds'), + 'threshold_ids': fields.many2many('mgmtsystem.kpi.threshold','mgmtsystem_kpi_threshold_range_rel', 'range_id', 'threshold_id', 'Thresholds'), } _defaults = {