All in One Edit Sequence in Sales, Purchase, Invoice and Inventory
by SprintERP Technologies https://sprinterp.com$ 5.00
All in One Edit Sequence Number Control
Lock or permit custom sequence number modifications inside Sales, Purchase, Accounting Moves, and Inventory Operations based on user privileges.
Key Module Highlights
All in One Edit Sequence Number Control
Configure User Access Rights for Sequence Number Editing
Go to Settings > Users & Companies > Users and select the specific user you want to grant permissions to. Under the Access Rights tab, you will find a dedicated section labeled "ALLOW USER ACCESS RIGHTS FOR EDIT SEQUENCE NUMBER". Simply turn on the boolean switches/toggles for Sale, Purchase, Invoice, or Inventory to allow that user to manually edit sequence numbers.
Technical Safeguard: Non-authorized users who do not have these flags enabled will completely lose the ability to manually change or modify document names/sequences.
Manually Edit or Control Sales Order Sequence Number
Navigate to the Sales application and open any Quotation or Sales Order form. If the active logged-in user has the "Allow to edit Sale Sequence Number" privilege turned on, the primary sequence/reference field (e.g., S00029) becomes editable. Users can manually overwrite or correct this reference number directly inside the form header without breaking standard document state flows.
Operational Guard: When changes are applied, the Odoo native
force_save="1" attribute ensures the custom overwritten value is safely written
back to the server, protecting it from being overridden during re-computations.
Manually Edit or Control Purchase Order Sequence Number
Navigate to the Purchase application and open any Request for Quotation (RFQ) or Purchase Order form. If the active logged-in user has the "Allow to edit Purchase Sequence Number" privilege turned on, the primary reference field (e.g., P00011) becomes fully editable. Authorized managers can easily adjust or override procurement unique names directly in the header section.
Operational Guard: Restricting this field prevents regular purchase representatives from mistakenly changing sequence keys, which avoids synchronization discrepancies with external vendor tracking platforms.
Manually Edit or Control Customer Invoice / Vendor Bill Sequence Number
Navigate to the Invoicing or Accounting application and open any Customer Invoice or Vendor Bill. If the active logged-in user has the "Allow to edit Invoice Sequence Number" privilege turned on, the primary fiscal reference field (e.g., INV/2026/00005) becomes fully editable. Authorized senior accountants can modify or adjust reference logs directly from the document form layout.
Operational Guard: Securing the invoice sequence is highly critical for financial audits. This setup ensures that unauthorized changes cannot break sequential tax ledger submissions or internal accounting lines.
Manually Edit or Control Inventory Operation / Stock Picking Sequence Number
Navigate to the Inventory application and open any Delivery Order, Receipt, or Internal Transfer. If the active logged-in user has the "Allow to edit Inventory Sequence Number" privilege turned on, the primary operational tracking field (e.g., WH/OUT/00006) becomes fully editable. Warehouse managers can manually modify or correct the sequence keys directly inside the layout form.
Operational Guard: This structure secures traceability logs across internal picking movements, guaranteeing that picking tracks remain completely secure from unmonitored human overrides.
Verify Active Security Groups Matrix & Global Synchronization
After enabling individual overrides across the system, navigate back to the user details log to verify the active configurations. As shown in the panel, once all sliders are activated (green state), the corresponding technical access rights for Sale, Purchase, Invoice, and Inventory Sequences are automatically synchronized and checked in the backend technical configurations.
Technical Safeguard: The underlying Python inverse functions force an instantaneous system security cache flush. This guarantees that rights are active immediately across all open terminal sessions without forcing a database reload or user logout.
Dynamic Input Form Row Activation for Document Sequence
Navigate directly to the Sales operational panel and trigger an editing action on any draft record. As highlighted in the layout grid, once sequence editing rights are approved, the native unmodifiable string transforms into an active entry field stretching across the configuration column. This layout allows administrators to write back data seamlessly while maintaining clean spacing.
Operational Guard: This layout row alteration is natively handled on the frontend layer. It automatically responds to changes in the field values computed via underlying security groups without introducing sluggish structural view layout lags.
Dynamic Input Form Row Activation for Purchase Sequence
Navigate to the Purchase app panel and select any Request for Quotation (RFQ) or Purchase Order record in draft state. As highlighted in the form grid layout, once security editing permissions are enabled, the locked text reference field seamlessly shifts into an active input box container spanning across the header space. This gives authorized purchase managers the direct ability to modify, correct, or adjust purchase sequences dynamically.
Operational Guard: This frontend row modification layout is completely reactive. It instantly listens to the security rights computed at the user model level without modifying standard Odoo sheet layout constraints or creating rendering blockages.
Dynamic Input Form Row Activation for Invoice & Bill Sequence
Navigate to the Invoicing or Accounting application and open any Customer Invoice or Vendor Bill entry. As highlighted in the form layout header, when the account override security group is validated, the standard fiscal identifier changes into an active inline entry row block. This enables senior financial auditors to fix mismatched numbering sequences safely before posting documents.
Operational Guard: Restricting this field via framework validation layers keeps your fiscal journal tracks clean, eliminating manual sequence overlaps that could cause legal audit discrepancies.
Dynamic Input Form Row Activation for Inventory Operations
Navigate to the Inventory application and open any standalone Transfer, Delivery Order, or Receipt. As highlighted in the form layout row, once the warehouse security override is granted, the uneditable operation title morphs into an active input container. Warehouse managers can manually modify or align standard tracking sequence lines dynamically before validation steps.
Operational Guard: Securing warehouse operational routes ensures clear stock auditing trail lines, eliminating accidental overrides that might corrupt shipment traceability or serial logs.
Key Features & Capabilities
Empower your database auditing and structural numbering layout with secure, role-based document sequence adjustments inside Odoo.
Sales Sequence Guard
Locks the primary quotation and sales order reference field (`name`), dynamically disabling modifications for general users while unlocking it for authorized team leads.
Procurement Locking
Prevents unauthorized edits to Purchase Order identification codes, protecting the core sequence line from accidental alterations during vendor negotiations.
Invoice & Bill Compliance
Secures Customer Invoices and Vendor Bills sequence setups to meet tax compliance. Ensures only users with accounting group privileges can modify draft sequence tracks.
Inventory Operation Lock
Protects specific warehouse data trackings including Delivery Orders, Receipts, and Internal Transfers by ensuring unique sequence numbers remain intact and unchanged.
Python Write Verification
Deep API verification that prevents data tempering attempts. Throws native validation warnings if fields are targeted via external integrations or bulk updates without rights.
Unified User Matrix
Adds native configuration options to the user profiles panel. Toggle rights instantly using simple and secure sliders inside standard access rights layouts.
Need Any Help?
Installation, Configuration & Bug Fixing support from our experts.
© 2017 SprintERP Technologies. All Rights Reserved.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Purchase (purchase) • Sales (sale_management) • Discuss (mail) |
| Lines of code | 222 |
| Technical Name |
se_edit_sequence_number |
| License | LGPL-3 |
| Website | https://sprinterp.com |
Please log in to comment on this module