[MERGE] stock: link correctly to product
authorRaphael Collet <rco@openerp.com>
Wed, 21 Sep 2011 13:52:33 +0000 (15:52 +0200)
committerRaphael Collet <rco@openerp.com>
Wed, 21 Sep 2011 13:52:33 +0000 (15:52 +0200)
bzr revid: rco@openerp.com-20110921135233-q4bzvjdog26aiu4d

1  2 
addons/stock/stock.py

@@@ -1628,8 -1628,7 +1628,8 @@@ class report_stock_lines_date(osv.osv)
      _description = "Dates of Inventories"
      _auto = False
      _columns = {
 -        'product_id': fields.many2one('product.product', 'Product Id', readonly=True),
 +        'id': fields.integer('Inventory Line Id', readonly=True),
-         'product_id': fields.integer('Product Id', readonly=True),
++        'product_id': fields.many2one('product.product', 'Product', readonly=True),
          'create_date': fields.datetime('Latest Date of Inventory'),
          }