Browse Source

[FIX] column mgmtsystem_kpi_threshold_range_rel.threshold_id does not exist

pull/510/head^2
Maxime Chambreuil 12 years ago
parent
commit
c6b39a1013
  1. 2
      mgmtsystem_kpi/mgmtsystem_kpi.py

2
mgmtsystem_kpi/mgmtsystem_kpi.py

@ -148,7 +148,7 @@ class mgmtsystem_kpi_threshold_range(osv.osv):
'max_code': fields.text('Maximum Computation Code'), 'max_code': fields.text('Maximum Computation Code'),
'max_dbsource_id': fields.many2one('base.external.dbsource','External DB Source'), 'max_dbsource_id': fields.many2one('base.external.dbsource','External DB Source'),
'color': fields.char('Color', help='RGB code with #', size=7, required=True), '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 = { _defaults = {

Loading…
Cancel
Save