From 808dbfcadea3bd3fc93734f65920d55903b6fbab Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Tue, 23 Apr 2024 13:26:05 +0530 Subject: [PATCH] fix(supplier): add back import that got removed by ruff It isn't unused, just isn't directly called Fixes 3effaf21ef60a50a20f1bbc15e9289ceaf80cc1a Signed-off-by: Akhil Narang --- erpnext/buying/doctype/supplier/supplier.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erpnext/buying/doctype/supplier/supplier.py b/erpnext/buying/doctype/supplier/supplier.py index 0df17fdd4b9..b472f59a650 100644 --- a/erpnext/buying/doctype/supplier/supplier.py +++ b/erpnext/buying/doctype/supplier/supplier.py @@ -15,9 +15,14 @@ from erpnext.accounts.party import ( get_dashboard_info, validate_party_accounts, ) +from erpnext.accounts.party import ( + get_timeline_data as get_party_timeline_data, +) from erpnext.controllers.website_list_for_contact import add_role_for_portal_user from erpnext.utilities.transaction_base import TransactionBase +get_timeline_data = get_party_timeline_data + class Supplier(TransactionBase): # begin: auto-generated types