fix: pass doc to frappe.format so doc currency is set for the row, not system default currency
This commit is contained in:
parent
0871db97f6
commit
3a976d82e7
1 changed files with 1 additions and 1 deletions
|
|
@ -996,7 +996,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
|||
content: d[cdt_field(col.field)],
|
||||
editable: Boolean(name && this.is_editable(col.docfield, d)),
|
||||
format: value => {
|
||||
return frappe.format(value, col.docfield, { always_show_decimals: true });
|
||||
return frappe.format(value, col.docfield, { always_show_decimals: true }, d);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue