mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 07:20:26 +00:00
This reverts commitc60d5523bc. (cherry picked from commit763450dcf8) # Conflicts: # erpnext/selling/report/sales_partner_target_variance_based_on_item_group/item_group_wise_sales_target_variance.py
This commit is contained in:
@@ -53,7 +53,12 @@ def get_data(filters, period_list, partner_doctype):
|
||||
if d.item_group not in item_groups:
|
||||
item_groups.append(d.item_group)
|
||||
|
||||
<<<<<<< HEAD
|
||||
date_field = "transaction_date" if filters.get("doctype") == "Sales Order" else "posting_date"
|
||||
=======
|
||||
date_field = ("transaction_date"
|
||||
if filters.get('doctype') == "Sales Order" else "posting_date")
|
||||
>>>>>>> 763450dcf8 (Revert "fix: add child item groups into the filters (#26997)" (#27266))
|
||||
|
||||
actual_data = get_actual_data(filters, item_groups, sales_users, date_field, sales_field)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user