Skip to Content
osloop_discount_cancel

Discount Cancel

Adds a Cancel Discount button to sale and purchase orders that removes every line discount and global discount line in one click.

  • Odoo 19
  • Sales
  • 19.0.1.0.0
1

Overview

After discounts are applied to a quotation or a request for quotation, undoing them line by line is slow and error prone. This module adds a Cancel Discount button next to the Discount button below the order lines. One click resets the discount percentage to zero on every discounted line and deletes the global discount lines created by the discount wizard. It works only on draft or sent orders, so confirmed documents are never changed. Each cancellation is logged in the order chatter with the number of lines reset and lines removed. The purchase side builds on the purchase order discount module, and the sales side uses the standard discount-per-line setting.

2

Usage steps

  1. 1

    Open a draft sale order

    Go to Sales > Orders > Quotations and open a quotation that has discounts applied.

    • Order must be in Draft or Quotation Sent state
    • Discount per line must be enabled for your user
  2. 2

    Cancel the sale discount

    Click Cancel Discount below the order lines, next to the Discount button.

    • Line discounts are reset to zero
    • Global discount lines are deleted
  3. 3

    Open a draft purchase order

    Go to Purchase > Orders and open a request for quotation that has discounts.

    • Order must be Draft or Sent and not locked
    • The order needs at least one line
  4. 4

    Cancel the purchase discount

    Click Cancel Discount next to the Discount button below the order lines.

    • The button is visible to Purchase users
    • If there is no discount a clear message is shown
  5. 5

    Check the chatter log

    Open the chatter of the order to see the Discount cancelled note.

    • Shows how many lines were reset
    • Shows how many discount lines were removed
4

Roles

Benefiting roles
Role
Sales user
Purchase user
Sales or purchase manager
5

Dependencies

Want to know more or try this app? Contact us

Adds a Cancel Discount button to sale and purchase orders that removes every line discount and global discount line in one click.

Contact us