mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: description not fetched in sales order analytics report (#29230)
This commit is contained in:
@@ -68,7 +68,8 @@ def get_data(conditions, filters):
|
|||||||
(soi.billed_amt * IFNULL(so.conversion_rate, 1)) as billed_amount,
|
(soi.billed_amt * IFNULL(so.conversion_rate, 1)) as billed_amount,
|
||||||
(soi.base_amount - (soi.billed_amt * IFNULL(so.conversion_rate, 1))) as pending_amount,
|
(soi.base_amount - (soi.billed_amt * IFNULL(so.conversion_rate, 1))) as pending_amount,
|
||||||
soi.warehouse as warehouse,
|
soi.warehouse as warehouse,
|
||||||
so.company, soi.name
|
so.company, soi.name,
|
||||||
|
soi.description as description
|
||||||
FROM
|
FROM
|
||||||
`tabSales Order` so,
|
`tabSales Order` so,
|
||||||
(`tabSales Order Item` soi
|
(`tabSales Order Item` soi
|
||||||
@@ -184,6 +185,12 @@ def get_columns(filters):
|
|||||||
"options": "Item",
|
"options": "Item",
|
||||||
"width": 100
|
"width": 100
|
||||||
})
|
})
|
||||||
|
columns.append({
|
||||||
|
"label":_("Description"),
|
||||||
|
"fieldname": "description",
|
||||||
|
"fieldtype": "Small Text",
|
||||||
|
"width": 100
|
||||||
|
})
|
||||||
|
|
||||||
columns.extend([
|
columns.extend([
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user