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
The diagram goes on to the side. Drag it, or use the two buttons.
Steps
Steps in order
| # | Step | Done by | Tolerance | Rollout stage |
|---|---|---|---|---|
| 1 | Code reads the stock and the ledger Selected | Stock reader · Automation, no AI | Exact and 1 more | 6 |
| 2 | Code compares value with the accounts Selected | Stock checks · Automation, no AI | Within 0.01 in the company currency, UAH or USD, by product category and 2 more | 6 |
| 3 | Code traces the difference Selected | Stock tracer · Automation, no AI | The lines add up to the difference within 0.01 and 1 more | 6 |
| 4 | Warehouse lead explains the move Selected | Warehouse lead | Exact | 6 |
| 5 | Accountant corrects through a document Selected | Accountant | Amount within 0.01 of the line and 1 more | 6 |
| 6 | Code marks the day as agreed or open Selected | Stock checks · Automation, no AI | Exact to 0.01 and 1 more | 6 |
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
| Step | Compared with | Tolerance | On a difference |
|---|---|---|---|
| 1 · Code reads the stock and the ledger | The quantity on hand by product and place against the sum of all done moves up to the same moment | Exact; serial numbers one by one | The 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 accounts | The 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 agree | The 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 difference | Five 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 left | The lines add up to the difference within 0.01; each line names one document | What 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 move | The transfer in Odoo against its signed paper - product, quantity, lot or serial number, and the day the goods moved | Exact | The 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 document | The correcting document against the line it corrects - product, quantity, amount and accounting date | Amount within 0.01 of the line; date in an open month | Our 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 open | The amounts of the correcting documents against the difference found by step 2, line by line | Exact to 0.01; each line has a cause and a document | The 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
| Step | Record | What is written |
|---|---|---|
| 1 · Code reads the stock and the ledger | Agent action log | One line per read, with the number of products and of moves |
| 2 · Code compares value with the accounts | Agent action log | One line per category compared |
| 3 · Code traces the difference | Agent action log | One line per cause and one for the part nothing explains |
| 6 · Code marks the day as agreed or open | Agent action log | One line with the state and the documents it rests on |
Connected processes
Where the work comes from and where it goes
Work goes to
| Process | What passes | At step |
|---|---|---|
| Month-end close | The last day of the month marked as agreed, explained or open | Code marks the day as agreed or open |
| Stock count | A product and place to count again, because no paper proves the quantity | Warehouse lead explains the move |
Work comes from
| Process | What passes | At step |
|---|---|---|
| Battery lots | A scrapped lot with its pieces, value and approval | Warehouse lead takes the lot out as scrap |
| Stock count | Posted adjustments with their value and approvals | Code posts the adjustment, lifts the freeze |
| Import customs and landed cost | A posted landed cost and its entry | Accountant posts the landed cost |
| Goods receipt and inspection | A booked receipt with its quantities and value | Warehouse lead stores and books the goods |
| Order picking and delivery | Pieces that left stock, with their cost | Code closes the delivery |
| Assembly by serial number | A finished unit with the cost of its parts and hours | Code closes the order at its real cost |
| Test flight and release | A unit moved to finished goods, at the same value | Code releases the unit for sale |
| Credit note to a dealer | Serial numbers that came back, with their cost | Accountant posts the credit note |
Want this process checked on your data?
Tell us where it goes wrong.