mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-27 13:55:19 +00:00
fix in tag viewing in doclistview
This commit is contained in:
@@ -23,7 +23,7 @@ wn.doclistviews['Journal Voucher'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'docstatus'},
|
||||
{width: '12%', content: 'name'},
|
||||
{width: '15%', content: 'voucher_type'},
|
||||
{width: '32%', content: 'tags+remark', css: {'color':'#222'}},
|
||||
{width: '32%', content: 'remark+tags', css: {'color':'#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -24,7 +24,7 @@ wn.doclistviews['Purchase Invoice'] = wn.views.ListView.extend({
|
||||
{width: '5%', content: 'avatar'},
|
||||
{width: '3%', content: 'docstatus'},
|
||||
{width: '15%', content: 'name'},
|
||||
{width: '34%', content: 'tags+supplier_name', css: {color: '#222'}},
|
||||
{width: '34%', content: 'supplier_name+tags', css: {color: '#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -19,7 +19,7 @@ wn.doclistviews['Sales Invoice'] = wn.views.ListView.extend({
|
||||
{width: '5%', content: 'avatar'},
|
||||
{width: '3%', content: 'docstatus'},
|
||||
{width: '15%', content: 'name'},
|
||||
{width: '34%', content: 'tags+customer_name', css: {color:'#222'}},
|
||||
{width: '34%', content: 'customer_name+tags', css: {color:'#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -17,7 +17,7 @@ wn.doclistviews['Purchase Order'] = wn.views.ListView.extend({
|
||||
{width: '5%', content: 'avatar'},
|
||||
{width: '3%', content: 'docstatus'},
|
||||
{width: '15%', content: 'name'},
|
||||
{width: '28%', content: 'tags+supplier_name', css: {color:'#222'}},
|
||||
{width: '28%', content: 'supplier_name+tags', css: {color:'#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -26,7 +26,7 @@ wn.doclistviews['Purchase Request'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '17%', content:'name'},
|
||||
{width: '50%', content:'status_html+tags+remark', css: {'color': '#222'}},
|
||||
{width: '50%', content:'status_html+remark+tags', css: {'color': '#222'}},
|
||||
{width: '10%', content: 'per_ordered', type:'bar-graph', label:'Ordered'},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
@@ -27,7 +27,7 @@ wn.doclistviews['Lead'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'check'},
|
||||
{width: '20%', content:'name'},
|
||||
{width: '12%', content:'status_html'},
|
||||
{width: '52%', content:'tags+lead_name', css: {color:'#222'}},
|
||||
{width: '52%', content:'lead_name+tags', css: {color:'#222'}},
|
||||
{width: '13%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
})
|
||||
|
||||
@@ -32,7 +32,7 @@ wn.doclistviews['Opportunity'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'check'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '18%', content:'status_html'},
|
||||
{width: '52%', content:'tags+enquiry_name', css: {color:'#222'}},
|
||||
{width: '52%', content:'enquiry_name+tags', css: {color:'#222'}},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
})
|
||||
|
||||
@@ -26,7 +26,7 @@ wn.doclistviews['Quotation'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '44%', content:'tags+quotation_name', css: {color:'#222'}},
|
||||
{width: '44%', content:'quotation_name+tags', css: {color:'#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -17,7 +17,7 @@ wn.doclistviews['Sales Order'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '32%', content:'tags+customer_name', css: {color:'#222'}},
|
||||
{width: '32%', content:'customer_name+tags', css: {color:'#222'}},
|
||||
{
|
||||
width: '18%',
|
||||
content: function(parent, data) {
|
||||
|
||||
@@ -22,7 +22,7 @@ wn.doclistviews['Batch'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '15%', content:'item'},
|
||||
{width: '50%', content:'tags+description'},
|
||||
{width: '50%', content:'description+tags'},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
});
|
||||
@@ -12,7 +12,7 @@ wn.doclistviews['Delivery Note'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '47%', content:'tags+customer_name', css: {color:'#222'}},
|
||||
{width: '47%', content:'customer_name+tags', css: {color:'#222'}},
|
||||
{width: '15%', content:'sales_order_no', type:'link', doctype:'Sales Order'},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@ wn.doclistviews['Item'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'check'},
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '20%', content:'name'},
|
||||
{width: '60%', content:'tags+description', css: {'color': '#222'}},
|
||||
{width: '60%', content:'description+tags', css: {'color': '#222'}},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ wn.doclistviews['Purchase Receipt'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '47%', content:'tags+supplier_name', css: {color:'#222'}},
|
||||
{width: '47%', content:'supplier_name+tags', css: {color:'#222'}},
|
||||
{width: '15%', content:'purchase_order_no', type:'link', doctype:'Purchase Order Order'},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
@@ -13,7 +13,7 @@ wn.doclistviews['Stock Entry'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '15%', content:'tags+purpose', css: {color:'#222'}},
|
||||
{width: '15%', content:'purpose+tags', css: {color:'#222'}},
|
||||
{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'}}
|
||||
|
||||
@@ -29,7 +29,7 @@ wn.doclistviews['Warehouse'] = wn.views.ListView.extend({
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '20%', content:'name'},
|
||||
{width: '15%', content:'warehouse_type'},
|
||||
{width: '45%', content:'tags+address'},
|
||||
{width: '45%', content:'address+tags'},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
});
|
||||
@@ -52,7 +52,7 @@ wn.doclistviews['Customer Issue'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'docstatus'},
|
||||
{width: '20%', content: 'name'},
|
||||
{width: '10%', content: 'status_html'},
|
||||
{width: '47%', content: 'tags+complaint', css: {color:'#777'}},
|
||||
{width: '47%', content: 'complaint+tags', css: {color:'#777'}},
|
||||
{width: '12%', content: 'modified',
|
||||
css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
@@ -47,7 +47,7 @@ wn.doclistviews['Support Ticket'] = wn.views.ListView.extend({
|
||||
{width: '3%', content: 'check'},
|
||||
{width: '20%', content:'name'},
|
||||
{width: '10%', content:'status_html'},
|
||||
{width: '50%', content:'tags+description', css: {color:'#222'}},
|
||||
{width: '50%', content:'description+tags', css: {color:'#222'}},
|
||||
{width: '14%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user