Request for Guidance on Dokos Warehouse + Shops Architecture with Sync and Accounting

Hello Dokos Community,

I’m currently setting up a distributed architecture for a business using Dokos (previously ERPNext), and would appreciate your guidance on configuring the system to enable centralized inventory and accounting with independent shop sites.

System Architecture

Godown (Central Warehouse):

  • Manages all local purchases, supplier invoices, and accounting
  • Transfers stock to multiple shop locations (Shop1, Shop2, …)
  • Needs to track each shop’s stock and sales activity
  • Hosted on godown.local

Shops (e.g., Shop1, Shop2):

  • Hosted separately (shop1.local, shop2.local)
  • Each has its own Warehouse (e.g., SHOP1-WH)
  • Handle only:
    • Sales Invoices
    • Sales Returns
    • Stock Reconciliation
  • No purchase capability — stock only comes from Godown
  • Must sync sales and stock back to Godown for accurate records

Guidance Needed On:

  1. :repeat: Automated Stock Transfers
  • Can Dokos support auto-stock transfer triggers from Godown to shops based on min stock/demand?
  • Is there a built-in replenishment mechanism or should we script it?
  1. :outbox_tray: Sales Sync from Shops to Godown
  • What’s the best way to push Sales/Stock data back to Godown from each shop (separate site)?
  • Would custom Webhooks/API endpoints or Scheduled Jobs be better?
  1. :round_pushpin: Sublocation Tracking at Godown
  • How can Godown track each shop warehouse and its sales separately?
  • Should we configure each Shop warehouse under the same company as sub-warehouses?
  1. :books: Centralized Accounting
  • How do we structure accounting so Godown handles all Accounts Payable, while shops do only POS/Sales?
  • Should each Shop operate under the same Company or separate ones?
  1. :closed_lock_with_key: Permissions
  • Godown should have read-only access to each shop’s sales/stock data
  • Shops should only access their own site/data
  • Best way to isolate permissions in multi-site Dokos setup?
  1. :globe_with_meridians: Multitenancy
  • Using Dokos with multi-site deployment: any settings I should be careful with to allow cross-site data sync?
  1. :gear: Dokos Version Compatibility
  • I’m using Dokos (forked from ERPNext v14+). Should I consider upgrading to a newer version (or ERPNext v15) to support this architecture better?

Expected Outcome

  • Central Godown site handles purchasing, stock, and accounting
  • Shops run independently with local sales
  • Two-way sync for stock transfers and sales data (Godown ⇄ Shops)
  • Each site tracks its own data but Godown can view consolidated status

Hey @Shuhain_Ismail,

Have you considered using the Woocommerce integration with dokos ?
You could have one central dokos site which handles accounting, purchasing etc connected to multiple Woocommerce sites, one for each shop.
Here is the doc: Introduction - Dokos - Documentation (in French - use your web browser translation :wink: )

Hope that helps,
Antoine.

This not a online shop
Ita a retail shop

3 shops 1 main godown
Each shop has it own godown
So we be using dokos interface to do selling

Ah right my bad.

I feel like you could achieve what you want in a single dokos website, using multiple warehouses, and point of sale profiles (one for each shop) all using the same company for the top level purchasing and accounting.
You’d still be able to get all the sales stats you need from the pos profile using dedicated income accounts, projects and cost center. Making careful use of roles and permissions could restrict your users to the right shop.
Just my humble opinion based on your description.

Antoine.

1 « J'aime »