Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-578986-ado into 
lp:openobject-addons/6.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-578986-ado/+merge/123488

Hello,

[FIX] export inventory gives traceback due to name is not supplied for 
inventory line

Stpes:
1). Goto : Warehouse/Inventory Control/Physical Inventories
2). Now try to export the inventory with inventory line
You will get the traceback.

Code is back-ported from stable 6.1

Regards,
Amit Dodiya
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-578986-ado/+merge/123488
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-578986-ado.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-08-17 07:46:56 +0000
+++ stock/stock.py	2012-09-10 06:47:47 +0000
@@ -2649,6 +2649,7 @@
 class stock_inventory_line(osv.osv):
     _name = "stock.inventory.line"
     _description = "Inventory Line"
+    _rec_name = "inventory_id"
     _columns = {
         'inventory_id': fields.many2one('stock.inventory', 'Inventory', ondelete='cascade', select=True),
         'location_id': fields.many2one('stock.location', 'Location', required=True),

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to