How lssuriol/mini_erp_uriol works
Mini ERP is a Django web application for single-installation-per-business retail operations. Its central workflow is cashier-led product lookup and POS checkout: the sale service records the sale, updates stock transactionally, and can trigger electronic invoicing and customer email. Separate branches cover catalog and stock control, business configuration and roles, and operational analytics. The README documents additional barcode, expiry, and external API capabilities; where sampled source does not establish wiring, those relationships are omitted or marked unverified.
Main entry points: ventas.py POS workflow · caja/servicios.py Sale processing · facturacion/servicios.py Electronic invoicing · almacen/servicios.py Stock and FIFO
Components 22
Inventory
- Product search
almacen/busqueda.py - Catalog and movements
almacen/views/movimientos.py - Product management
almacen/views/productos.py - Stock and FIFO
almacen/servicios.py - Products and lots
almacen/models.py - Expiry monitoring
almacen/views/vencimientos.py
Sales
- POS workflow
caja/views/ventas.py - Sale processing
caja/servicios.py - Sales records
caja/models.py
Electronic billing
- Electronic invoicing
facturacion/servicios.py - Invoice provider adapter
facturacion/proveedores.py - Customer email
facturacion/servicios.py
Business and access
- Business configuration
nucleo/models.py - Role permissions
nucleo/decoradores.py - User management
usuarios/views/gestion.py
Analytics
- Reports and dashboard
reportes/views/dashboard.py - Sales indicators
reportes/indicadores.py
Other components
- Cashier
- Open Food Facts
- NubeFact / SUNAT
- Brevo
- DNI/RUC lookup
Connections 20
- Cashier → POS workflow: uses
- POS workflow → Product search: searches
caja/views/ventas.py - POS workflow → Sale processing: submits sale
caja/views/ventas.py - Sale processing → Stock and FIFO: records stock
caja/servicios.py - Sale processing → Sales records: creates sale
caja/servicios.py - Sale processing → Electronic invoicing: requests issuance
caja/servicios.py - Catalog and movements → Stock and FIFO: records movement
almacen/views/movimientos.py - Stock and FIFO → Products and lots: updates stock and lots
almacen/servicios.py - Product management → Products and lots: manages products
almacen/views/productos.py - Expiry monitoring → Products and lots: monitors expiry
- Product management → Open Food Facts: may autocomplete
- User management → Role permissions: restricts access
usuarios/views/gestion.py - POS workflow → DNI/RUC lookup: queries document
caja/views/ventas.py - Reports and dashboard → Sales indicators: calculates metrics
reportes/views/dashboard.py - Sales indicators → Sales records: aggregates sales
reportes/indicadores.py - Electronic invoicing → Invoice provider adapter: uses provider
facturacion/servicios.py - Electronic invoicing → NubeFact / SUNAT: submits invoices
- Electronic invoicing → Customer email: sends accepted receipt
facturacion/servicios.py - Customer email → Brevo: sends email
- POS workflow → Business configuration: uses business settings