Merge branch 'staging-fixes' of github.com:frappe/frappe into develop
This commit is contained in:
commit
56eaad3736
3 changed files with 7 additions and 3 deletions
|
|
@ -7,6 +7,9 @@ def execute():
|
|||
|
||||
for d in reports_data:
|
||||
doc = frappe.get_doc('Report', d.get('name'))
|
||||
|
||||
if not doc.get('json'): continue
|
||||
|
||||
json_data = json.loads(doc.get('json'))
|
||||
|
||||
parts = []
|
||||
|
|
|
|||
|
|
@ -1055,8 +1055,9 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
|||
for (let cdt in values) {
|
||||
fields = fields.concat(values[cdt].map(f => [f, cdt]));
|
||||
}
|
||||
|
||||
this.fields = fields;
|
||||
|
||||
// always keep name (ID) column
|
||||
this.fields = [["name", this.doctype], ...fields];
|
||||
|
||||
this.fields.map(f => this.add_currency_column(f[0], f[1]));
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// http://codeguide.co - @mdo (Author of Bootstrap)
|
||||
|
||||
@import "flex.less";
|
||||
@import {reference} "common.less";
|
||||
@import (reference) "common.less";
|
||||
|
||||
// Typography
|
||||
@font-weight-bold: 700;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue