mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 16:13:22 +00:00
fix(treewide): manual ruff fixes
(cherry picked from commit f63396ef47)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
@@ -1580,7 +1580,7 @@ def get_items_for_material_requests(doc, warehouses=None, get_parent_warehouse_d
|
||||
so_item_details[sales_order][item_code] = details
|
||||
|
||||
mr_items = []
|
||||
for sales_order, item_code in so_item_details.items():
|
||||
for sales_order in so_item_details:
|
||||
item_dict = so_item_details[sales_order]
|
||||
for details in item_dict.values():
|
||||
bin_dict = get_bin_details(details, doc.company, warehouse)
|
||||
|
||||
@@ -87,7 +87,7 @@ class ForecastingReport(ExponentialSmoothingForecast):
|
||||
entry.get(self.based_on_field)
|
||||
)
|
||||
|
||||
for key, value in self.period_wise_data.items():
|
||||
for value in self.period_wise_data.values():
|
||||
list_of_period_value = [value.get(p.key, 0) for p in self.period_list]
|
||||
|
||||
if list_of_period_value:
|
||||
|
||||
Reference in New Issue
Block a user