From 3b032d8becf0e4724ceafa4135e8a67a434321a6 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 (transplanted from 5b262957935337c771e34d32285486e7e90669d4) --- product.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product.py b/product.py index 994b3dbc4c..f4235f3133 100644 --- a/product.py +++ b/product.py @@ -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')