Retroactive Stock Movement Blocker
Enforce Inventory Lock Dates & Eliminate Financial Valuation Gaps
Lock your warehouse periods definitively.
Block backdated stock transfers and retroactive inventory movements from altering closed financial periods.
The Nightmare of Post-Closing Backdated Stock Adjustments
When warehouse operators or manufacturing managers validate stock pickings with a retroactive effective date into an already-closed financial period, it silently corrupts your Inventory Valuation. The General Ledger and physical stock ledger drift out of balance, triggering massive compliance failures, distorted margin analysis, and hours of frustrating audit investigation to locate the mismatched journal entries.
Module Demonstration
Watch a complete walkthrough of the module and see how it works in Odoo.
Watch Demo Video
Bulletproof Warehouse Accounting Controls
Rigid blockades preventing date tampering across picking operations, manufacturing inputs, and point-of-sale configurations.
Company-Level Lock Dates
Set independent Stock Movement Lock Dates for each entity inside your multi-company ecosystem. Financial controller groups manage these dates via standard Inventory Settings.
Omnichannel Move Restrictions
Protects the database from hidden loopholes. Blocks the "Validate" action on standard stock pickings AND intercepts direct stock.move updates from Manufacturing (MRP) or Point of Sale.
Historical Date Change Block
Prevents users from bypassing rules after validation. Any attempt to modify the completion date of a previously closed picking to a historical locked date is instantly rejected.
Descriptive Error Exceptions
Provides helpful feedback to operators. When validation parameters block an action, the module triggers descriptive user alerts explaining the timeline boundary rule.
Low-Level Database Interception Architecture
Why this validation safeguard is completely bypass-proof.
Multi-Model Method Overrides
By injecting guardrails into core execution tracks (button_validate, _action_done, and the base write methods of both stock.picking and stock.move), the restriction applies evenly whether processing UI clicks, API imports, or third-party barcode integrations.
Automated Testing Suite Included
Comes armed with internal automated python unit tests (under tests/). Validates multi-company date variance boundaries during routine pipeline code alterations, ensuring future stability.
Activation & Deployment Strategy
| 1. | Navigate directly to Inventory > Configuration > Settings using an Inventory or Accounting Administrator account. |
| 2. | Locate the "Retroactive Stock Movement Blocker" cluster and define your target Stock Movement Lock Date. |
| 3. | Save settings. The backend validation loop automatically secures transactional inventory dates. |
Administrative Controls Dashboard
Clean configuration configurations seamlessly appended to core native Odoo inventory parameter trees.


Developed with by SyncSoft LLC
Looking to customize automated accounting thresholds or restrict historical stock movements across bespoke apps?
We are here to support you!
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 112 |
| Technical Name |
prevent_backdated_picking_done |
| License | OPL-1 |
| Website | https://pxfox.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module