odoo-inventory
Skill2 starsChanged 3 months agoMITView on GitHub
MANDATORY for Transfers (stock.picking), Stock Moves (stock.move), and Locations (stock.location). Expertise in Odoo's logistics and warehouse structure.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- odoo-attendanceSkill
- odoo-crmSkill
- odoo-dashboardsSkill
- odoo-data-opsSkill
- odoo-devSkill
- odoo-documentsSkill
- odoo-field-serviceSkill
- odoo-financeSkill
- odoo-frontdeskSkill
- odoo-get-startedSkill
- odoo-helpdeskSkill
- odoo-hrSkill
- odoo-introspectorSkill
- odoo-knowledgeSkill
- odoo-mrpSkill
- odoo-plmSkill
- odoo-productsSkill
- odoo-projectsSkill
- odoo-purchasingSkill
- odoo-qualitySkill
- odoo-relationsSkill
- odoo-reportsSkill
- odoo-salesSkill
- odoo-securitySkill
- odoo-spreadsheetsSkill
- odoo-uxSkill
- odoo-websiteSkill
- odoo-worksheetsSkill
- odoo-workspaceSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Verification: If a task requires absolute technical precision or if the user references attributes not in your resource, you MUST call …
- Distinctive: line 51
When a transfer is stuck or stock levels seem incorrect, follow this workflow:
- Very specific: line 52
Unreserved Stock: If a picking is in confirmed but not assigned, check if the product has free_qty in the source location.
- Distinctive: line 53
Broken Routes: If no picking is generated for a Sale Order, check if a valid Route (e.g., "MTO", "Buy") is selected on the product or its …
- Very specific: line 54
Negative Stock: Check for stock.quant records with negative values.
- Very specific: line 55
Putaway Failure: If receipts are going to a generic "Stock" location instead of specific bins, verify the stock.putaway.rule priorities.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Odoo Inventory & Logistics
This skill provides the agent with the expertise required to manage Odoo's inventory operations, covering transfers (pickings), stock moves, and the physical warehouse structure.
Core Mandates
1. Snapshot Awareness (Dynamic Discovery)
- Mandate: The
inventory-fields.jsonresource is a snapshot of common logistics fields. It is NOT exhaustive. - Verification: If a task requires absolute technical precision or if the user references attributes not in your resource, you MUST call
inspect_modelto retrieve the "Live Truth" from the target Odoo instance.
2. The Inventory Flow (Pickings & Moves)
Inventory operations are centered around the Transfer (stock.picking).
- Picking: The "envelope" or document (e.g., WH/OUT/001).
- Move (
stock.move): The individual lines on the picking (e.g., "10 units of Product A"). - State Lifecycle:
draft: Document is being prepared.waiting: Waiting for another operation to complete.confirmed: Waiting for products to be available in stock.assigned: Products are reserved and the transfer is Ready to process.done: The physical move has occurred and stock levels have updated.
2. Physical vs. Virtual Locations
Odoo tracks stock by moving items between Locations (stock.location).
- Internal: Physical spots in your warehouse (e.g., WH/Stock/Shelf 1). These contribute to your On-Hand quantity.
- Supplier: Virtual source for incoming goods.
- Customer: Virtual destination for outgoing goods.
- Inventory Loss: Used for corrections (Scrap, adjustments).
3. Valuation & Costing
Stock valuation logic is typically controlled at the product.category level (see odoo-products skill).
- Manual vs. Automated: Automated valuation creates
account.moveentries for every stock move. - Mandate: Be cautious when processing moves for products with "Automated" valuation, as it impacts the balance sheet immediately.
4. Advanced Logistics Configuration
Odoo's logistics engine is driven by Routes (stock.route) and Rules (stock.rule).
- Pull Rules (Procurement): Triggered by demand (e.g., a Sale Order). They "pull" stock from a source to a destination.
- Push Rules: Triggered by arrival. When stock enters a location, they "push" it further.
- Putaway Rules (
stock.putaway.rule): Direct incoming products to specific bins based on the product, category, or Storage Category (stock.storage.category). - Packaging (
product.packaging): Defines commercial units (e.g., Box of 12). Used for faster entry and barcode scanning.
5. Units of Measure (UoM)
- Categories: Units are grouped into categories (e.g., Unit, Weight, Working Time). Conversions are ONLY possible within the same category.
- Reference Unit: Each category has one reference unit (e.g., "Units" or "kg"). All other units in the category define a ratio against this reference.
- Mandate: Changing the UoM on a product with stock moves is extremely dangerous. Always verify the category match before suggesting a conversion.
6. Troubleshooting & Diagnostics
When a transfer is stuck or stock levels seem incorrect, follow this workflow:
- Unreserved Stock: If a picking is in
confirmedbut notassigned, check if the product hasfree_qtyin the source location. - Broken Routes: If no picking is generated for a Sale Order, check if a valid Route (e.g., "MTO", "Buy") is selected on the product or its category.
- Negative Stock: Check for
stock.quantrecords with negative values. This usually indicates a user processed a delivery before recording the receipt. - Putaway Failure: If receipts are going to a generic "Stock" location instead of specific bins, verify the
stock.putaway.rulepriorities.
Available Resources
inventory-logic.md: Deep-dive into pickings types, reservation logic, and backorders.inventory-advanced-logic.md: Advanced guide on routing, putaway, packaging, and UoM.inventory-fields.json: Dense technical map of fields for Picking, Move, Location, Route, Rule, and UoM models.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

