Skip to Content
Menu

Mass Line Edit – Purchase

by
Odoo

23.39

v 18.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase (purchase)
Invoicing (account)
Discuss (mail)
Lines of code 53
Technical Name pv_mass_line_edit_purchase
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase (purchase)
Invoicing (account)
Discuss (mail)
Lines of code 53
Technical Name pv_mass_line_edit_purchase
LicenseLGPL-3

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
Purchase Orders
Confirmed POs*

Note: Standard Odoo restrictions apply (e.g., some fields become read-only after confirmation or reception).

How it works

  1. Open any RFQ / purchase order.
  2. Use Select All Lines to opt in every line, or toggle Apply to All only on the lines you want linked.
  3. Edit a value on one of the enabled lines (e.g., Quantity, Unit Price, Taxes, Description).
  4. 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 → Boolean select_all_lines + onchange to toggle line flags.
    • purchase.order.line → Boolean apply_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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.