fix in doclistview - check if _user_tags exists before rendering
This commit is contained in:
parent
04cfaa0e1e
commit
b9e9197e5f
@ -1,7 +1,7 @@
|
||||
// render
|
||||
wn.doclistviews['Sales Invoice'] = wn.views.ListView.extend({
|
||||
init: function(d) {
|
||||
this._super(d)
|
||||
this._super(d);
|
||||
this.fields = this.fields.concat([
|
||||
"`tabSales Invoice`.customer_name",
|
||||
"ifnull(`tabSales Invoice`.outstanding_amount,0) as outstanding_amount",
|
||||
|
@ -6,11 +6,13 @@ wn.doclistviews['Customer'] = wn.views.ListView.extend({
|
||||
"`tabCustomer`.customer_name",
|
||||
"`tabCustomer`.territory",
|
||||
]);
|
||||
this.show_hide_check_column();
|
||||
},
|
||||
|
||||
columns: [
|
||||
{width: '3%', content:'check'},
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '53%', content:'name'},
|
||||
{width: '50%', content:'name'},
|
||||
{width: '10%', content:'tags'},
|
||||
{width: '20%', content:'territory', css: {'color': '#aaa'}},
|
||||
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user