How tabgshu-ux/test-plastic-quote-ai works
This repository is a Streamlit ERP for a multinational injection-molding business. Users sign in, select a department and module, then manage operational records or view dashboards. Its domain spans quotations and customer orders, procurement and receiving, inventory, workforce and payroll, approvals, finance and tax, and executive reporting. Several sampled modules store data in Streamlit session state; the schema initializer and user-management code also indicate PostgreSQL-backed state. The README is only a title, and excerpts are partial, so module dispatch beyond the shown AP/AR calls is not asserted.
Main entry points: executive_dashboard.py Executive dashboard · app.py Streamlit ERP · sales_quotation.py Sales quotations · user_management.py User administration
Components 21
ERP entry
- Streamlit ERP
app.py
Commercial operations
- Sales quotations
modules/sales_quotation.py - Sales orders and AR
modules/sales_order_ar.py - Procurement and AP
modules/procurement_ap.py - Invoice management
modules/invoice_management.py
Operations and people
- Warehouse inventory
modules/warehouse_management.py - General affairs
modules/general_affairs.py - Asset management
modules/asset_management.py - Employee management
modules/employee_management.py - Payroll management
modules/payroll_management.py
Finance and governance
- Approval workflow
modules/approval_workflow.py - Finance and tax
modules/finance_tax.py
Reporting and administration
- Executive dashboard
modules/executive_dashboard.py - ERP dashboard
modules/erp_dashboard.py - User administration
modules/user_management.py - Security utilities
modules/security_utils.py - Database schema setup
db_init.py
Other components
- ERP user
- PostgreSQL
- Market data service
- Google Gemini
Connections 7
- ERP user → Streamlit ERP: uses
- Streamlit ERP → Sales orders and AR: dispatches AP/AR
- User administration → PostgreSQL: connects
- Database schema setup → PostgreSQL: creates schema
- Executive dashboard → Market data service: fetches quotes
- Executive dashboard → Google Gemini: requests advice
- Sales quotations → Google Gemini: AI assistance