Niyu Smart Stock

Overview

A definitive overview of the module’s purpose, its hybrid cloud architecture, system dependencies, and explicit operational boundaries.

Core Business Outcome

  • Niyu Smart Stock is an AI-assisted inventory planning application that converts historical demand and supply data into a daily operational planning queue.
  • It forecasts future demand for eligible product-warehouse pairs and translates this into replenishment quantities using lead time, safety stock, Minimum Order Quantity (MOQ), and fixed-order constraints.
  • It checks internal warehouses for surplus before proposing external purchases, and creates draft RFQs or confirmed internal transfers.

Architecture & Responsibilities

  • Local Odoo: Collects Odoo demand/supply data, builds the daily series, computes stock positions/policies, creates RFQs and transfers, and renders local dashboards and Demand History.
  • Niyu Cloud: Validates licenses/quotas, queues asynchronous forecast jobs, and returns 30/60/90/120-day forecasts along with model telemetry.

Module Dependencies

  • The module integrates with stock (warehouses, quants, internal transfers), sale_management (historical demand), purchase (RFQs, vendor lead times), and web (OWL dashboards, charts).
  • It communicates via gzip-compressed JSON over HTTPS with a license key header.

System Boundaries

  • Decision Support: The forecast recommends and prepares work; users retain full control over document confirmation.
  • No Automation Overreach: It does not automatically validate internal transfers or confirm Purchase Orders.
  • Data Integrity: It does not calculate "lost sales" or reconstruct historical reservations; out-of-stock history is based purely on physical stock movements.