Stock Valuation Layer Accounting Date
stock_valuation_layer_accounting_date · OCA/stock-logistics-warehouse
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
2 models
3 views
0 HTTP endpoints
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. (2 occurrences in this file) migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…