[FIX]stock:Field name does not exist when export data from physiacal inventory

lp bug: https://launchpad.net/bugs/774057 fixed

bzr revid: ron@tinyerp.com-20110505054631-k5qzt5pizfhwp1qk
This commit is contained in:
ron@tinyerp.com 2011-05-05 11:16:31 +05:30
parent 826bbaa0a3
commit df85c02619
1 changed files with 1 additions and 0 deletions

View File

@ -2623,6 +2623,7 @@ stock_inventory()
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),