How derber-q/gamebat_crm works
ReSOURCE / GameBAT CRM is a Django-based internal retail and wholesale operations system, with server-rendered pages and JavaScript enhancements rather than a SPA. Its main operational flow covers product and partner records, purchasing and trip arrival, warehouse stock and consignment, then sales and separate cash or debt accounting. Distinct product branches include marketplace integrations, storefronts, digital commerce, Telegram workflows, backups, and remote printing. The README documents these capabilities and accounting rules; sampled source supports the storage-location and digital-commerce details, but many other implementations were not inspected.
Main entry points: sales/services.py Sales & Statistics · urls.py CRM Web · models.py Warehouse Stock · digital_sales/services.py Digital Sales
Components 24
Catalog & Partners
- Product Catalog
catalog/models.py - Partners
partners/models.py
Supply & Inventory
- Purchasing & Trips
orders/services.py - Supply Receiving
supplies/services.py - Warehouse Stock
warehouse/models.py - Storage Locations
warehouse/storage_services.py - Consignment
consignment/services.py
Sales & Finance
- Sales & Statistics
sales/services.py - Cash & Safes
cash/services.py - Partner Debts
creditors/services.py - Pricing & FBS
pricing/services.py
Digital & Channels
- Storefronts
resource_storefront/retail_views.py - Yandex Market
yandex_market/services.py - External Integrations
integrations/services.py - Digital Prices API
digital_prices/api.py - Digital Shop
digital_shop/services.py - Digital Sales
digital_sales/services.py - Telegram Bots
telegram_bots/handlers.py - Wholesale Bot
wholesale_bot/handlers.py
Operations Support
- CRM Backups
crm_backups/snapshot.py - Local Agent
local_agent/runtime.py - Print Agent
print_agent/engine.py
Other components
- CRM Staff
- CRM Web
GameBAT_CRM/urls.py
Connections 21
- CRM Staff → CRM Web: uses
README.md - CRM Web → Product Catalog: maintains
- CRM Web → Partners: maintains
- Purchasing & Trips → Supply Receiving: arrives as
README.md - Supply Receiving → Warehouse Stock: records stock
README.md - Warehouse Stock → Product Catalog: tracks products
catalog/models.py - Storage Locations → Warehouse Stock: assigns locations
warehouse/storage_services.py - Sales & Statistics → Warehouse Stock: deducts stock
README.md - Sales & Statistics → Consignment: tracks batches
README.md - Sales & Statistics → Cash & Safes: records cash
README.md - Sales & Statistics → Partner Debts: tracks debt
README.md - Pricing & FBS → Yandex Market: sets FBS prices
- External Integrations → Yandex Market: integrates
README.md - Storefronts → Partners: serves buyers
- Digital Prices API → Digital Shop: provides prices
digital_shop/services.py - Digital Shop → Digital Sales: reserves orders
digital_shop/services.py - Digital Sales → Sales & Statistics: creates sales
digital_sales/services.py - Telegram Bots → Digital Sales: handles orders
- Wholesale Bot → Sales & Statistics: creates wholesale sales
- CRM Web → CRM Backups: backs up data
- Print Agent → Local Agent: runs locally