167
168
'procurement_request': lambda obj, cr, uid, context: context.get('procurement_request', False),
169
170
'warehouse_id': lambda obj, cr, uid, context: len(obj.pool.get('stock.warehouse').search(cr, uid, [])) and obj.pool.get('stock.warehouse').search(cr, uid, [])[0],
172
174
def create(self, cr, uid, vals, context=None):