Add missing _rec_name
issue2189 review162001
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user