#### 🎯 The problem
Dolibarr's native line form only adds one line at a time: pick the product, adjust VAT, price, quantity, validate, wait for the page to reload, repeat. On a 30-line quote, that's 30 round trips.
#### 🚀 The solution
Lignes Rapides replaces that with a single entry grid, shown directly below the document's existing lines. Type, select, adjust, move to the next line — then save everything in one click.
#### ⚙️ Key features
✅ Multi-line entry grid built into the page, no popup, no reload while typing
✅ Up to 5000 lines per batch, configurable limit
✅ Editable columns: Product, VAT, Unit price, Qty, Discount %, Cost price, Total (calculated live)
✅ Instant product search by reference or label
✅ Full keyboard navigation (arrows, Enter, Escape)
✅ Stock, price, weighted average cost and cost price shown right in the search results
✅ VAT, price and discount auto-filled when a product is selected
✅ Customer-specific pricing detected and flagged (★)
✅ Category navigation via a clickable breadcrumb
✅ Favorites and recently used products, per user (and per company in multi-company setups)
✅ Catalog window with multi-select, All / Favorites / Recent tabs
✅ Per-line cost price selector: weighted average, real cost price, or manual entry
✅ Sequential saving with automatic CSRF token renewal
✅ Progress bar while saving
✅ Responsive interface: stacked touch cards on mobile and tablet
✅ Full entity filtering in multi-company environments
#### 📄 Supported documents
| Document | Direction |
|---|---|
| Sales quote | Customer |
| Customer order | Customer |
| Customer invoice | Customer |
| Supplier quote | Supplier |
| Supplier order | Supplier |
| Supplier invoice | Supplier |
The widget appears automatically on any draft document of these six types, with no extra setup.
#### 🔒 Security and permissions
✅ Dedicated "Use Lignes Rapides widget" permission, enabled by default, added on top of Dolibarr's native creation rights
✅ Server-side CSRF token check on every module entry point
✅ All requests filtered by entity (multi-company)
✅ Works only on draft-status documents
#### 🧩 Compatibility
✅ Dolibarr v17 to v24+
✅ PHP 7.3+
✅ Requires the native Products/Services and Categories modules
### Installation
⚙️Go to Home → Setup → Modules → Deploy an external module and submit the ZIP file
The module is then available and can be activated.
Search for Lignes Rapides in the module list and click Activate