| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Purchase (purchase) • Discuss (mail) • Invoicing (account) |
| Lines of code | 73 |
| Technical Name |
clear_all_lines |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/amrsalah07 |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Purchase (purchase) • Discuss (mail) • Invoicing (account) |
| Lines of code | 73 |
| Technical Name |
clear_all_lines |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/amrsalah07 |
| Versions | 18.0 19.0 |
Clear All Lines
Bulk delete lines from draft Sales Orders, Purchase Orders, and Stock Pickings with one click. Automatic chatter logging for complete audit trails.
Clear All Lines adds a dedicated button to draft Sales Orders, Purchase Orders, and Stock Pickings. With one click, remove all lines from a document and keep a complete record in chatter for traceability.
Premium Features
Sales Order Cleanup
Remove all lines from a draft Sales Order in one step, helping you reset orders quickly without manual deletion.
Purchase Order Cleanup
Clear all lines from a draft Purchase Order directly from the form view for fast order reset.
Stock Picking Cleanup
Remove all move lines from a draft Stock Picking to simplify transfer preparation and line management.
Audit-Friendly Chatter Log
Posts the current user and timestamp in chatter after clearing lines for complete traceability and compliance.
How It Works
When a Sales Order, Purchase Order, or Stock Picking is in draft mode and contains lines, the module displays a Clear Lines button above the line section. Clicking the button opens a confirmation prompt. Upon confirmation, all lines are instantly removed from the document, and the action is logged in chatter with the current user and timestamp.
Key Capabilities
✓ Draft-Only Visibility
The button only appears on draft records when lines exist, reducing accidental use.
✓ Confirmation Prompt
Requires explicit user confirmation before deleting all lines.
Demo Videos
Support & Contact
For any inquiries, bug reports, or feature requests.
Email Us
amrsalahshahin@gmail.com
Connect with Amr Shahin
Please log in to comment on this module