Stock Move Backdating
stock_move_backdating · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update stock_valuation_layer set create_date = %s where id = %s` - re-check the table/column names still match after upgrading. 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
This module allows users to register stock moves with a past date (i.e., a date different from the current one). It is especially useful for accurately reflecting historical stock movements and maintaining correct inventory records.
If Perpetual Inventory Valuation is enabled, the generated journal entries will reflect the chosen backdated date accordingly.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_picking_view_form_inherit_backdating |
stock.picking.form.inherit | stock.picking | form | Inherits stock.view_picking_form |
stock_scrap_form_view |
stock.scrap.form | stock.scrap | form | Inherits stock.stock_scrap_form_view |
view_fill_backdating |
Fill Actual Movement Date | fill.date.backdating | form | New |
view_inventory_form |
Add backdating to Inventory | stock.inventory | form | Inherits stock.view_inventory_form |
view_stock_move_line_detailed_operation_tree |
stock.move.line.operations.list | stock.move.line | list | Inherits stock.view_stock_move_line_detailed_operation_tree |
view_stock_quant_tree_inherit |
stock.quant.list.inherit | stock.quant | list | Inherits stock.view_stock_quant_tree_inventory_editable |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
-
date_backdatingDatetimestring='Actual Movement Date'
-
constrain_date_backdating(self)@api.constrains('date_backdating') -
fill_date_backdating(self)Fill the Actual Movement Date on all pack operations.
No new fields.
Public methods (0)No public methods.
-
date_backdatingDatetimestring='Actual Movement Date'
-
onchange_date_backdating(self)@api.onchange('date_backdating')
-
date_backdatingDatetimecompute='_compute_date_backdating'help='The Actual Movement Date of the Operations only if they have all the same value.'store=Truestring='Forced Effective Date'
No public methods.
-
date_backdatingDatetimestring='Actual Inventory Date'
-
onchange_date_backdating(self)@api.onchange('date_backdating')
-
date_backdatingDatetimecopy=Falsehelp='The Actual Movement Date of the Operations only if they have all the same value.'string='Forced Effective Date'
-
onchange_date_backdating(self)@api.onchange('date_backdating')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…