All In One Select All Lines | Sale Order Lines | Purchase Lines | Invoice Lines | Manufacturing Lines | Inventory Lines
by Steven Marp https://apps.odoo.com/apps/modules/browse?repo_maintainer_id=512936$ 24.98
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Manufacturing (mrp) • Purchase (purchase) • Discuss (mail) |
| Lines of code | 249 |
| Technical Name |
sm_select_all_lines_widget |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?repo_maintainer_id=512936 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Manufacturing (mrp) • Purchase (purchase) • Discuss (mail) |
| Lines of code | 249 |
| Technical Name |
sm_select_all_lines_widget |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?repo_maintainer_id=512936 |
Select All Lines Widget
Add a fast select-all workflow to editable Odoo document lines. Users can select every visible line from the document tab, then toggle individual rows with one click.
See Select All Lines in Action
Simple Flow
Native Odoo Lines
Odoo 18 Community and Enterprise
5 Core Odoo Workflows
Sales, Purchase, Accounting, Manufacturing, and Inventory forms get the same select-all line behavior.Sales
Purchase
Accounting
Manufacturing
Inventory
Main Features
Small module, direct workflow improvement.Select All Button
Add a clear button above supported line tabs.Row Toggle Icon
Select or unselect each row with a compact icon.Hidden Boolean State
Selection values stay on each line with copy disabled.Reusable JS Widget
Usesm_select_all_boolean on custom boolean columns.
Standard View Inherits
No controller override or custom menu required.Odoo 18 Ready
Built for Odoo 18 backend forms and editable list lines.Install and Use Immediately
Open a supported document form, go to its line tab, and click Select All.1. Install
2. Open Lines
3. Select
Select All Lines Widget
Overview
sm_select_all_lines_widget adds a select-all workflow to editable document lines in Odoo 18.
Users can click Select All above supported line tabs, then toggle individual rows with a compact checkbox icon.
Covered Apps
The module extends these standard Odoo documents:
- Sales Orders and Quotations
- Purchase Orders and RFQs
- Customer Invoices, Vendor Bills, and Journal Entries
- Manufacturing Orders
- Inventory Transfers
Features
- Select-all button above supported one2many line widgets.
- Row-level toggle button with selected and unselected icons.
- Hidden boolean field to store selected state on each line.
- copy=False on selection fields, so duplicated records do not keep old selections.
- Reusable backend boolean widget named sm_select_all_boolean.
Technical Scope
Models extended
- sale.order and sale.order.line
- purchase.order and purchase.order.line
- account.move and account.move.line
- mrp.production
- stock.picking
- stock.move
- stock.move.line
Views extended
- Sales order form
- Purchase order form
- Account move form
- Manufacturing order form
- Stock picking form
Reusable Widget
The module also registers a reusable boolean list widget:
<field name="your_boolean_field" widget="sm_select_all_boolean"/>
When used on a boolean field in a list view, the header can toggle all editable visible rows for that boolean field.
Installation
- Copy sm_select_all_lines_widget into an Odoo addons path.
- Restart Odoo.
- Update the Apps list.
- Install Select All Lines Widget.
Command-line install or update:
python3 ~/odoo/odoo-18/odoo-server \ -c ~/odoo/conf/unotek.conf \ -d uno_db_fresh \ -u sm_select_all_lines_widget
Usage
- Open a supported document form.
- Open its line tab, such as Order Lines, Invoice Lines, Components, or Operations.
- Click Select All.
- Use the row checkbox icon to unselect or reselect specific lines.
Compatibility
- Odoo 18.0
- Community and Enterprise editions
Changelog
18.0.1.0.0
- Initial release.
- Added select-all controls for Sales, Purchase, Accounting, Manufacturing, and Inventory lines.
- Added reusable sm_select_all_boolean field widget.
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