fix: trends date filter issue --formatter
This commit is contained in:
committed by
GitHub
parent
2e9dda1588
commit
b3e4463a4f
@@ -69,7 +69,7 @@ def get_data(filters, conditions):
|
|||||||
"Delivery Note",
|
"Delivery Note",
|
||||||
]:
|
]:
|
||||||
posting_date = "t1.posting_date"
|
posting_date = "t1.posting_date"
|
||||||
if filters.period_based_on and conditions.get("trans") in ["Sales Invoice","Purchase Invoice"]:
|
if filters.period_based_on and conditions.get("trans") in ["Sales Invoice", "Purchase Invoice"]:
|
||||||
posting_date = "t1." + filters.period_based_on
|
posting_date = "t1." + filters.period_based_on
|
||||||
|
|
||||||
if conditions["based_on_select"] in ["t1.project,", "t2.project,"]:
|
if conditions["based_on_select"] in ["t1.project,", "t2.project,"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user