list view for purchase receipt
diff --git a/erpnext/stock/doctype/purchase_receipt/listview.js b/erpnext/stock/doctype/purchase_receipt/listview.js
new file mode 100644
index 0000000..4275b54
--- /dev/null
+++ b/erpnext/stock/doctype/purchase_receipt/listview.js
@@ -0,0 +1,18 @@
+// render
+wn.doclistviews['Purchase Receipt'] = wn.views.ListView.extend({
+ init: function(d) {
+ this._super(d);
+ this.fields = this.fields.concat([
+ "`tabPurchase Receipt`.supplier_name",
+ "`tabPurchase Receipt`.purchase_order_no"
+ ]);
+ },
+ columns: [
+ {width: '5%', content:'avatar'},
+ {width: '3%', content:'docstatus'},
+ {width: '15%', content:'name'},
+ {width: '50%', content:'tags+supplier_name', css: {color:'#aaa'}},
+ {width: '15%', content:'purchase_order_no', type:'link', doctype:'Purchase Order Order'},
+ {width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
+ ]
+});
diff --git a/erpnext/stock/doctype/stock_entry/listview.js b/erpnext/stock/doctype/stock_entry/listview.js
new file mode 100644
index 0000000..4c52e9e
--- /dev/null
+++ b/erpnext/stock/doctype/stock_entry/listview.js
@@ -0,0 +1,20 @@
+// render
+wn.doclistviews['Stock Entry'] = wn.views.ListView.extend({
+ init: function(d) {
+ this._super(d);
+ this.fields = this.fields.concat([
+ "`tabStock Entry`.purpose",
+ "`tabStock Entry`.from_warehouse",
+ "`tabStock Entry`.to_warehouse",
+ ]);
+ },
+ columns: [
+ {width: '5%', content:'avatar'},
+ {width: '3%', content:'docstatus'},
+ {width: '15%', content:'name'},
+ {width: '18%', content:'tags+purpose', css: {color:'#aaa'}},
+ {width: '18%', content:'from_warehouse', template: 'From %(from_warehouse)s'},
+ {width: '18%', content:'to_warehouse', template: 'To %(to_warehouse)s'},
+ {width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
+ ]
+});