Step 2 of 6 in Stock value to ledgerAutomation, no AI
Code compares value with the accounts
- Starts when
A stock value record in state new
- Inputs
Input Comes from Value, account balance and the five lists of the day Stock value record of step 1 - Done by
Stock checks · Automation, no AI
- What changes
Record What changes Stock value record The difference by product category; state new to equal or to different Agent action log One line per category compared - Check
- Compared with
- 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.
- Tolerance
- 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
- On a difference
- 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.
- Decision
Is there a difference?
- Yes, or a wrong date or quantity: step 3 · Code traces the difference
- No, equal: step 6 · Code marks the day as agreed or open
- Accountable
Accountant
- Systems
- Odoo 19 Community
- Rollout stage
6 · Month-end close and approvals