How andrersp/controleestoque works
This is a PyQt desktop inventory, purchasing, sales, customer/supplier, and accounts-payable/receivable application. The principal workflow is to maintain product and business-party records, enter purchases or sales, update stock and create payment/collection installments, then review financial activity. The graph emphasizes the UI/controller and persistence stages, while retaining the README’s major capabilities. Some screens and modules are unsampled; their connections are shown only where the source index or README supports them.
Main entry points: Models.py Domain models · maincompras.py Purchase workflow · mainvendas.py Sales workflow · core.py Database sessions
Components 25
Desktop interface
- Application shell
controle_estoque/main.py - Product screens
controle_estoque/Views/formProdutos.py - Customer screens
controle_estoque/Views/formClientes.py - Supplier screens
controle_estoque/Views/formFornecedor.py - Purchase screens
controle_estoque/Views/formCompras.py - Sales screens
controle_estoque/Views/formVendas.py
Inventory and commerce
- Inventory controller
controle_estoque/mainprodutos.py - Customer controller
controle_estoque/mainclientes.py - Supplier controller
controle_estoque/mainfornecedor.py - Purchase workflow
controle_estoque/maincompras.py - Sales workflow
controle_estoque/mainvendas.py - Product and stock
controle_estoque/Crud/CrudProduto.py - Customer records
controle_estoque/Crud/CrudCliente.py - Supplier records
controle_estoque/Crud/CrudFornecedor.py - Purchase records
controle_estoque/Crud/CrudCompra.py - Sales records
controle_estoque/Crud/CrudVenda.py - Purchase line items
controle_estoque/Crud/CrudRelCompra.py - Sales line items
controle_estoque/Crud/CrudRelVenda.py
Financial management
- Accounts screens
controle_estoque/Views - Finance controller
controle_estoque/mainfinanceiro.py - Accounts payable
controle_estoque/Crud/CrudContaAPagar.py - Accounts receivable
controle_estoque/Crud/CrudContaAReceber.py
Persistence layer
- Domain models
controle_estoque/Crud/Models.py - Database sessions
controle_estoque/Crud/core.py
Other components
- Operator
Connections 39
- Operator → Application shell: uses
controle_estoque/main.py - Application shell → Inventory controller: opens
controle_estoque/main.py - Application shell → Customer controller: opens
controle_estoque/main.py - Application shell → Purchase workflow: opens
controle_estoque/main.py - Application shell → Sales workflow: opens
controle_estoque/main.py - Inventory controller → Product screens: shows
controle_estoque/mainprodutos.py - Customer controller → Customer screens: shows
controle_estoque/mainclientes.py - Supplier controller → Supplier screens: shows
controle_estoque/mainfornecedor.py - Purchase workflow → Purchase screens: shows
controle_estoque/maincompras.py - Sales workflow → Sales screens: shows
controle_estoque/mainvendas.py - Inventory controller → Product and stock: manages
controle_estoque/mainprodutos.py - Customer controller → Customer records: queries
controle_estoque/mainclientes.py - Supplier controller → Supplier records: manages
controle_estoque/mainfornecedor.py - Purchase workflow → Purchase records: records
controle_estoque/maincompras.py - Purchase workflow → Supplier records: queries
controle_estoque/maincompras.py - Purchase workflow → Product and stock: queries
controle_estoque/maincompras.py - Purchase workflow → Purchase line items: records
controle_estoque/maincompras.py - Purchase workflow → Accounts payable: creates installments
controle_estoque/maincompras.py - Sales workflow → Sales records: records
controle_estoque/mainvendas.py - Sales workflow → Product and stock: queries
controle_estoque/mainvendas.py - Sales workflow → Customer records: queries
controle_estoque/mainvendas.py - Sales workflow → Sales line items: records
controle_estoque/mainvendas.py - Sales workflow → Accounts receivable: creates installments
controle_estoque/mainvendas.py - Finance controller → Accounts screens: opens
- Accounts payable → Domain models: queries
controle_estoque/Crud/CrudContaAPagar.py - Accounts receivable → Domain models: queries
controle_estoque/Crud/CrudContaAReceber.py - Product and stock → Domain models: reads and writes
controle_estoque/Crud/CrudProduto.py - Customer records → Domain models: reads and writes
controle_estoque/Crud/CrudCliente.py - Purchase records → Domain models: reads and writes
controle_estoque/Crud/CrudCompra.py - Sales records → Domain models: reads and writes
controle_estoque/Crud/CrudVenda.py - Purchase line items → Domain models: uses models
controle_estoque/Crud/CrudRelCompra.py - Sales line items → Domain models: uses models
controle_estoque/Crud/CrudRelVenda.py - Domain models → Database sessions: declares base
controle_estoque/Crud/Models.py - Product and stock → Database sessions: opens sessions
controle_estoque/Crud/CrudProduto.py - Customer records → Database sessions: opens sessions
controle_estoque/Crud/CrudCliente.py - Purchase records → Database sessions: opens sessions
controle_estoque/Crud/CrudCompra.py - Sales records → Database sessions: opens sessions
controle_estoque/Crud/CrudVenda.py - Accounts payable → Database sessions: opens sessions
controle_estoque/Crud/CrudContaAPagar.py - Accounts receivable → Database sessions: opens sessions
controle_estoque/Crud/CrudContaAReceber.py