[MERGE] forward port of branch 8.0 up to 92c7874
[odoo/odoo.git] / addons / stock / stock.py
index ccbd78b..ecaed01 100644 (file)
@@ -1267,7 +1267,7 @@ class stock_picking(osv.osv):
             'product_id': product.id,
             'product_uom': product.uom_id.id,
             'product_uom_qty': remaining_qty,
-            'name': _('Extra Move: ') + op.product_id.name,
+            'name': _('Extra Move: ') + product.name,
             'state': 'draft',
             }
         return res