[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:
parent
826bbaa0a3
commit
df85c02619
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue