Mass Line Edit – Purchase
Bulk-edit purchase order lines directly in the PO form. Tick Apply to All on the lines you want to sync, change one of them (Quantity, Unit Price, Taxes, Description, etc.), and the same change is propagated to the other selected lines automatically.
Odoo 18
Purchases
Purchase Orders
LGPL-3
Why this module?
Repeating the same edits across multiple PO lines is slow and error-prone. This add-on delivers an opt-in mass-edit flow so you change once and apply consistently—no wizards, no exports.
Key features
- Master toggle: a Mass Edit box with Select All Lines on the PO form.
- Per-line control: each PO line gets an Apply to All toggle (compact switch).
- Instant propagation: edits to any enabled line are copied to all other enabled lines of the same PO.
- Generic by design: propagates whatever fields you edited (excluding the toggle itself).
- Safe recursion guard: a context flag prevents infinite loops while propagating.
- Native UX: master control above the tabs; per-line switch as the first column in the lines list.
Supported flows
Requests for Quotation
Draft stage
Draft stage
Purchase Orders
Confirmed POs*
Confirmed POs*
Note: Standard Odoo restrictions apply (e.g., some fields become read-only after confirmation or reception).
How it works
- Open any RFQ / purchase order.
- Use Select All Lines to opt in every line, or toggle Apply to All only on the lines you want linked.
- Edit a value on one of the enabled lines (e.g., Quantity, Unit Price, Taxes, Description).
- All other enabled lines update immediately with the same change.
Permissions & compatibility
- Respects standard
purchase
security and record rules. - No configuration required. Install and use.
- Works with the standard Purchase Order form and lines list.
Technical overview
- Model extensions:
purchase.order
→ Booleanselect_all_lines
+ onchange to toggle line flags.purchase.order.line
→ Booleanapply_all
+write()
override that pushes edited fields to sibling lines (same PO).
- Safety: propagation uses a
mass_edit_propagation
context guard to avoid recursive writes.
Changelog
- 18.0.1.0.1 – Initial public release for Odoo 18.
Please log in to comment on this module