From c8cb70dbd2be183853aba792a883c29f3f83a9db Mon Sep 17 00:00:00 2001 From: Dipen Gala Date: Wed, 17 Jun 2026 13:07:04 +0530 Subject: [PATCH] feat: add Purchase Team root node as default fixture on install Mirrors the Sales Person/Sales Team fixture so fresh installs get a root "Purchase Team" group node for the Purchase Person tree. Co-Authored-By: Claude Sonnet 4.6 --- erpnext/setup/setup_wizard/operations/install_fixtures.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/erpnext/setup/setup_wizard/operations/install_fixtures.py b/erpnext/setup/setup_wizard/operations/install_fixtures.py index 5a297a23c50..649184b6048 100644 --- a/erpnext/setup/setup_wizard/operations/install_fixtures.py +++ b/erpnext/setup/setup_wizard/operations/install_fixtures.py @@ -248,6 +248,13 @@ def get_preset_records(country=None): "is_group": 1, "parent_sales_person": "", }, + # Purchase Person + { + "doctype": "Purchase Person", + "purchase_person_name": _("Purchase Team"), + "is_group": 1, + "parent_purchase_person": "", + }, # Mode of Payment { "doctype": "Mode of Payment",