Don't use Many2One as _rec_name
issue2547
This commit is contained in:
1 parent
728761a91d
commit
9759fd0bc8
1 file changed
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user