How rg3915/estoque works
Estoque is a Django inventory-control application. Users manage product and category records, import or export product data, record stock entries and exits, and process delivery protocols that create stock deductions. The sampled code shows the main view-to-model operations and the protocol’s stock-update logic; some routing and UI relationships are supported only by the source index or template names in the views. The README gives no further product workflow detail.
Main entry points: produto/views.py Product views · estoque/views.py Stock views · estoque/models.py Stock and deliveries · produto/models.py Products and categories
Components 14
Product catalog
- Product views
projeto/produto/views.py - Product forms
projeto/produto/forms.py - Products and categories
projeto/produto/models.py - XLSX import
projeto/produto/actions/import_xlsx.py - XLSX export
projeto/produto/actions/export_xlsx.py
Stock operations
- Stock views
projeto/estoque/views.py - Stock forms
projeto/estoque/forms.py - Stock and deliveries
projeto/estoque/models.py - Movement managers
projeto/estoque/managers.py
Shared domain
- Timestamp base
projeto/core/models.py
Web interface
- Product pages
projeto/produto/templates - Stock pages
projeto/estoque/templates - Core views
projeto/core/views.py
Other components
- User
Connections 14
- User → Product views: manages catalog
projeto/produto/views.py - Product views → Product forms: uses forms
projeto/produto/views.py - Product views → Products and categories: reads and writes
projeto/produto/views.py - Product views → XLSX import: dispatches import
projeto/produto/views.py - Product views → XLSX export: dispatches export
projeto/produto/views.py - XLSX import → Products and categories: replaces catalog
projeto/produto/actions/import_xlsx.py - Product views → Product pages: renders pages
projeto/produto/views.py - User → Stock views: records movements
projeto/estoque/views.py - Stock views → Stock forms: builds forms
projeto/estoque/views.py - Stock views → Stock and deliveries: creates and updates
projeto/estoque/views.py - Stock views → Products and categories: updates balances
projeto/estoque/views.py - Stock views → Stock pages: renders pages
projeto/estoque/views.py - Stock and deliveries → Movement managers: uses movement managers
projeto/estoque/models.py - Stock and deliveries → Timestamp base: inherits timestamps
projeto/estoque/models.py