Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Stock value to ledger.

Every night the value of the stock in each company is compared with its stock accounts in the ledger. A difference is traced to the move, bill or entry that made it and corrected through a document. A month closes only with its last day agreed.

Company
Demo Manufacturer LLC and Demo Manufacturer US Inc.
Starts when
Every night and at the end of the month
How often
Every night, per company
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Code reads the stock and the ledger Stock reader · Automation, no AIExact and 1 more6
2Code compares value with the accounts Stock checks · Automation, no AIWithin 0.01 in the company currency, UAH or USD, by product category and 2 more6
3Code traces the difference Stock tracer · Automation, no AIThe lines add up to the difference within 0.01 and 1 more6
4Warehouse lead explains the move Warehouse leadExact6
5Accountant corrects through a document AccountantAmount within 0.01 of the line and 1 more6
6Code marks the day as agreed or open Stock checks · Automation, no AIExact to 0.01 and 1 more6

Rollout stage: 6 · Month-end close and approvals.

Before

How it was done before

In Ukraine the stock was valued once a quarter in a Google Sheet and the difference was booked in one line. In the US the value of the warehouse list was typed into QuickBooks Online at the end of the month.

Where it breaks without control

  • A receipt is dated back into a month already reported - the stock of that month changes and no entry in the ledger does.
  • Odoo's own stock closing books any difference to the stock variation account, so a mistake disappears without a cause.
  • Goods leave before their receipt is recorded, the quantity falls below zero and the next cost is wrong.
  • Somebody types an entry on the stock account to make the two figures equal.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
1 · Code reads the stock and the ledgerThe quantity on hand by product and place against the sum of all done moves up to the same momentExact; serial numbers one by oneThe product is set apart on the record with both quantities and becomes a line for the warehouse lead in step 4; the value of every other product is still compared.
2 · Code compares value with the accountsThe balance of the stock accounts, without the stock closing and the work-in-progress entry of Month-end close, against the value of the stock, less goods received and not billed, plus goods billed and not received, plus goods delivered and not invoiced, less goods returned by dealers and not credited, plus goods sent back to suppliers and not credited; parts of a paid repair are left out, because Odoo takes them off the account when the repair is closed. With Odoo's valuation set to Perpetual (at invoicing), stock is posted at the bill and at the invoice, so a receipt and a delivery carry no entry of their own.Within 0.01 in the company currency, UAH or USD, by product category; no product below zero; no transfer with another effective date than the day it was done, even when the totals agreeThe day waits in the accountant's exception queue with the difference by category. Nothing is posted by code, and Odoo's stock closing is set to manual, because run by itself it levels the accounts and hides the cause.
3 · Code traces the differenceFive lists against the difference - moves to loss, scrap or production places with no entry; entries on the stock accounts with no move, bill, invoice or landed cost behind them; products below zero; transfers whose effective date is not the day our module saved when they were done; bills and landed costs that changed the cost after the goods had leftThe lines add up to the difference within 0.01; each line names one documentWhat no list explains stays as a line of its own, marked not explained, and the accountant sees it first. It is not spread over the other lines.
4 · Warehouse lead explains the moveThe transfer in Odoo against its signed paper - product, quantity, lot or serial number, and the day the goods movedExactThe warehouse lead states which of the two is right and links the paper. A quantity no paper proves goes to Stock count. The warehouse lead changes neither a date, a value nor an entry.
5 · Accountant corrects through a documentThe correcting document against the line it corrects - product, quantity, amount and accounting dateAmount within 0.01 of the line; date in an open monthOur module refuses an entry on a stock account that names no move, bill, invoice, landed cost or closing of Month-end close; only the reversal of an earlier entry passes. An error of a locked month is corrected in the current one and names the old document.
6 · Code marks the day as agreed or openThe amounts of the correcting documents against the difference found by step 2, line by lineExact to 0.01; each line has a cause and a documentThe day stays open with the amount and its age and is the first thing the accountant sees the next morning. A last day of the month that is open stays as an open line on the Close checklist.

Duties by role

What the action log records

StepRecordWhat is written
1 · Code reads the stock and the ledgerAgent action logOne line per read, with the number of products and of moves
2 · Code compares value with the accountsAgent action logOne line per category compared
3 · Code traces the differenceAgent action logOne line per cause and one for the part nothing explains
6 · Code marks the day as agreed or openAgent action logOne line with the state and the documents it rests on

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Month-end closeThe last day of the month marked as agreed, explained or openCode marks the day as agreed or open
Stock countA product and place to count again, because no paper proves the quantityWarehouse lead explains the move

Work comes from

ProcessWhat passesAt step
Battery lotsA scrapped lot with its pieces, value and approvalWarehouse lead takes the lot out as scrap
Stock countPosted adjustments with their value and approvalsCode posts the adjustment, lifts the freeze
Import customs and landed costA posted landed cost and its entryAccountant posts the landed cost
Goods receipt and inspectionA booked receipt with its quantities and valueWarehouse lead stores and books the goods
Order picking and deliveryPieces that left stock, with their costCode closes the delivery
Assembly by serial numberA finished unit with the cost of its parts and hoursCode closes the order at its real cost
Test flight and releaseA unit moved to finished goods, at the same valueCode releases the unit for sale
Credit note to a dealerSerial numbers that came back, with their costAccountant posts the credit note

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process