Add missing _rec_name

issue2189
review162001
(transplanted from 5b262957935337c771e34d32285486e7e90669d4)
This commit is contained in:
Cédric Krier committed 2011-10-21 11:04:52 +02:00
1 parent d73e28f51e
commit 3b032d8bec
1 file changed
+1
+1
View File
@@ -9,6 +9,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')