# ghoshgsajib/standeredvegetableoil architecture

> Architecture diagram of the GitHub repository ghoshgsajib/standeredvegetableoil, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ghoshgsajib/standeredvegetableoil
- Repository: https://github.com/ghoshgsajib/standeredvegetableoil

## Overview

PureAceOil is a Django business-management application for dealers, products, orders, stock, production, notifications and reports. Its likely user workflow is managing catalog and dealer records, handling orders and stock, then reviewing invoices and reports; the README confirms the capabilities but does not document their detailed sequence. The tree supports the domain modules shown here. Sampled source confirms that the invoice service creates invoice records; detailed view-to-view and cross-module wiring is not shown, so those links are omitted.

Main entry points: [`inventory/invoice_service.py`](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/invoice_service.py) (Invoice generation), [`invoices/models.py`](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/invoices/models.py) (Invoices)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Accounts and parties"]
  node_accounts_views["Account workflows<br/>[views.py]"]
  node_accounts_models[("Accounts<br/>[models.py]")]
  node_dealers_views["Dealer workflows<br/>[views.py]"]
  node_dealers_models[("Dealers<br/>[models.py]")]
  node_sellers_views["Seller workflows<br/>[views.py]"]
  node_sales_officers_views["Sales officers<br/>[views.py]"]
end

subgraph group_catalog["Catalog and locations"]
  node_products_views["Product workflows<br/>[views.py]"]
  node_products_models[("Products<br/>[models.py]")]
  node_categories_models[("Categories<br/>[models.py]")]
  node_location_views["Location workflows<br/>[views.py]"]
  node_location_models[("Locations<br/>[models.py]")]
end

subgraph group_operations["Orders and operations"]
  node_orders_views["Order workflows<br/>[views.py]"]
  node_orders_models[("Orders<br/>[models.py]")]
  node_stock_views["Stock workflows<br/>[views.py]"]
  node_stock_models[("Stock records<br/>[models.py]")]
  node_inventory_views["Inventory workflows<br/>[views.py]"]
  node_inventory_models[("Inventory records<br/>[models.py]")]
  node_production_views["Production workflows<br/>[views.py]"]
  node_notifications_views["Notifications<br/>[views.py]"]
end

subgraph group_finance["Finance and insights"]
  node_invoice_service["Invoice generation<br/>[invoice_service.py]"]
  node_invoices_views["Invoice workflows<br/>[views.py]"]
  node_invoices_models[("Invoices<br/>[models.py]")]
  node_reports_views["Reports<br/>[views.py]"]
end

node_user(("Staff or user"))

node_invoice_service -->|"creates records"| node_invoices_models

click node_accounts_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/accounts/views.py"
click node_accounts_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/accounts/models.py"
click node_dealers_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/dealers/views.py"
click node_dealers_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/dealers/models.py"
click node_sellers_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/sellers/views.py"
click node_sales_officers_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/sales_officers/views.py"
click node_products_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/products/views.py"
click node_products_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/products/models.py"
click node_categories_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/categories/models.py"
click node_location_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/location/views.py"
click node_location_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/location/models.py"
click node_orders_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/orders/views.py"
click node_orders_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/orders/models.py"
click node_stock_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/stock/views.py"
click node_stock_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/stock/models.py"
click node_inventory_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/views.py"
click node_inventory_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/models.py"
click node_production_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/production/views.py"
click node_notifications_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/notifications/views.py"
click node_invoice_service "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/invoice_service.py"
click node_invoices_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/invoices/views.py"
click node_invoices_models "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/invoices/models.py"
click node_reports_views "https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/reports/views.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_accounts_views,node_accounts_models,node_dealers_views,node_dealers_models,node_sellers_views,node_sales_officers_views,node_user toneBlue
class node_products_views,node_products_models,node_categories_models,node_location_views,node_location_models toneAmber
class node_orders_views,node_orders_models,node_stock_views,node_stock_models,node_inventory_views,node_inventory_models,node_production_views,node_notifications_views toneMint
class node_invoice_service,node_invoices_views,node_invoices_models,node_reports_views toneRose
```

## Components

### Accounts and parties

- [Account workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/accounts/views.py): `accounts/views.py`
- [Accounts](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/accounts/models.py): `accounts/models.py`
- [Dealer workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/dealers/views.py): `dealers/views.py`
- [Dealers](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/dealers/models.py): `dealers/models.py`
- [Seller workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/sellers/views.py): `sellers/views.py`
- [Sales officers](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/sales_officers/views.py): `sales_officers/views.py`

### Catalog and locations

- [Product workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/products/views.py): `products/views.py`
- [Products](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/products/models.py): `products/models.py`
- [Categories](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/categories/models.py): `categories/models.py`
- [Location workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/location/views.py): `location/views.py`
- [Locations](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/location/models.py): `location/models.py`

### Orders and operations

- [Order workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/orders/views.py): `orders/views.py`
- [Orders](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/orders/models.py): `orders/models.py`
- [Stock workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/stock/views.py): `stock/views.py`
- [Stock records](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/stock/models.py): `stock/models.py`
- [Inventory workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/views.py): `inventory/views.py`
- [Inventory records](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/models.py): `inventory/models.py`
- [Production workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/production/views.py): `production/views.py`
- [Notifications](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/notifications/views.py): `notifications/views.py`

### Finance and insights

- [Invoice generation](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/inventory/invoice_service.py): `inventory/invoice_service.py`
- [Invoice workflows](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/invoices/views.py): `invoices/views.py`
- [Invoices](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/invoices/models.py): `invoices/models.py`
- [Reports](https://github.com/ghoshgsajib/standeredvegetableoil/blob/main/reports/views.py): `reports/views.py`

### Other components

- **Staff or user**

## Connections

- Invoice generation → Invoices: creates records
