From c175b6edf54bc2026892efaab6ee67d391d8d4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 21 Oct 2011 11:04:52 +0200 Subject: [PATCH] Add missing _rec_name issue2189 review162001 --- product.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product.py b/product.py index 5ca89eea86..2488b54e5d 100644 --- a/product.py +++ b/product.py @@ -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')