Files
arrr-erp-test-v2/SEED_V2_5_1_README.md
2026-06-24 20:05:36 +05:30

1.4 KiB

v2.5.1 Deep Seed Extension

This suite now includes a seed extension for the additional v2.5.1 deep test cases.

Files

seed/seed_uat_data_v2_5_1.py

Run order inside ERP container

Copy the file into the ERP app under scripts/ and run:

cd /app
PYTHONPATH=/app python scripts/seed_uat_data.py
PYTHONPATH=/app python scripts/seed_uat_data_v2_5_1.py

The first command is your existing core seed. The second command adds supporting data for the new v2.5.1 tests.

What it seeds

  • Email settings, templates, queue, logs and inbox sample
  • Marketplace/public leads including converted lead
  • Platform billing plan, account, subscription, invoice and payment
  • RBAC limited role and UAT permissions
  • Audit log sample events
  • Locked previous financial year and backup export placeholder
  • Client-visible, deleted and multi-version document samples
  • Storage-agent security node/job
  • Attendance, leave balance, leave request, payroll run and payslip
  • Draft, issued and cancelled billing invoices with payment
  • Deep notice case with hearing/event and client/internal note separation

Idempotency

The extension uses UAT-coded lookup values and can be rerun safely. If a table or column is not present in your current ERP build, it skips that section and prints a warning.

Important

This is for UAT only. Do not run against live production data.