TIP: You can type at any time to perform a new search.
Stock Valuation Layer Accounting Date
stock_valuation_layer_accounting_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_valuation_layer svl SET accounting_date = am.date FROM account_move am WHERE svl.account_move_id = am.id AND am.state = 'posted'` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_valuation_layer svl SET accounting_date = svl.create_date::date WHERE svl.accounting_date IS NULL` - 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
- 1.0.3
- Category
- Stock
- 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 08:09:15
- Authors
- Odoo Community Association (OCA), Quartile Limited
- Maintainers
- Odoo Community Association (OCA), Quartile Limited
- Committers
- kanda999, Aungkokolin1997, Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_valuation_layer_form |
stock.valuation.layer.form | stock.valuation.layer | form | Inherits stock_account.stock_valuation_layer_form |
stock_valuation_layer_tree |
stock.valuation.layer.tree | stock.valuation.layer | tree | Inherits stock_account.stock_valuation_layer_tree |
view_stock_quantity_history |
Inventory Report at Date | stock.quantity.history | Inherits stock.view_stock_quantity_history |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
open_at_accounting_date(self)
New fields (1)
-
accounting_dateDatecompute='_compute_accounting_date'help='Date of the linked journal entry if applicable, otherwise the create date of the record (timezone aware)'store=True
No public methods.
Loading…