Skip to content

Commit

Permalink
fix: company name with , in Work Order Summary Report
Browse files Browse the repository at this point in the history
(cherry picked from commit 87b39f0)
  • Loading branch information
s-aga-r authored and mergify[bot] committed Nov 26, 2022
1 parent 6e5fd55 commit bc649b3
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -39,10 +39,14 @@ def get_data(filters):
"lead_time",
]

for field in ["sales_order", "production_item", "status", "company"]:
for field in ["sales_order", "production_item"]:
if filters.get(field):
query_filters[field] = ("in", filters.get(field))

for field in ["status", "company"]:
if filters.get(field):
query_filters[field] = filters.get(field)

query_filters["planned_start_date"] = (">=", filters.get("from_date"))
query_filters["planned_end_date"] = ("<=", filters.get("to_date"))

Expand Down

0 comments on commit bc649b3

Please sign in to comment.