Don't use Many2One as _rec_name

issue2547
This commit is contained in:
Cédric Krier committed 2012-04-15 17:29:18 +02:00
1 parent 728761a91d
commit 9759fd0bc8
1 file changed
-1
-1
View File
@@ -16,7 +16,6 @@ class Inventory(Workflow, ModelSQL, ModelView):
'Stock Inventory'
_name = 'stock.inventory'
_description = __doc__
_rec_name = 'location'
location = fields.Many2One(
'stock.location', 'Location', required=True,