Add missing _rec_name
issue2189 review162001 (transplanted from 5b262957935337c771e34d32285486e7e90669d4)
This commit is contained in:
1 parent
d73e28f51e
commit
3b032d8bec
1 file changed
+1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user