Add missing _rec_name

issue2189
review162001
This commit is contained in:
Cédric Krier
2011-10-21 11:04:52 +02:00
parent 0359976264
commit c175b6edf5
+1
View File
@@ -10,6 +10,7 @@ class ProductCostHistory(ModelSQL, ModelView):
'History of Product Cost'
_name = 'product.product.cost_history'
_description = __doc__
_rec_name = 'date'
template = fields.Many2One('product.template', 'Product')
date = fields.DateTime('Date')