TIP: You can type at any time to perform a new search.
Stock Location Last Inventory Date
stock_location_last_inventory_date · OCA/stock-logistics-warehouse
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `Update stock_location set last_inventory_date = sub.date from ( Select line.location_id, max(inventory.date) as date from stock_inventory_line as line join stock_inventory as inventory on inventory.id = line.inventory_id group by line.location_id ) as sub where stock_location.id = sub.location_id;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 2.1.0
- Category
- Warehouse
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-warehouse
- Last tracking update
- 2026-08-07 07:47:32
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Michael Tietz, Weblate, OCA-git-bot, oca-travis, oca-ci, Hai Lang, devRaumschmiede
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_location_form |
stock.location.last.inventory.date | stock.location | form | Inherits stock.view_location_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
last_inventory_dateDatetimehelp='Indicates the last inventory date for the location, including inventory done on parents location.' args: 'Last Inventory Date'
No public methods.
Loading…