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.
Usage steps
- 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
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
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
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
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
Screens
Illustrative mockups with placeholder data.
Reference
Order Lines
Reference
Order Lines
Roles
| Role |
|---|
| Sales user |
| Purchase user |
| Sales or purchase manager |
Dependencies
- sale
- purchase
- osloop_purchase_discount
Related applications
Applications that work together with this one.
Purchase Order Discount
Provides the purchase Discount button and wizard whose results this module cancels.
osloop_purchase_discountLine Fixed Discount
Adds fixed and percentage discounts on sales and purchase lines that Cancel Discount can reset.
sale_order_line_fixed_discountPurchase Wholesale Pricing & Price Visibility
Same purchasing area: controls purchase order prices and who can see them.
osloop_purchase_price_controlDelete Zero-Quantity Purchase Lines
Another purchase order clean-up tool, for zero-quantity lines.
osloop_purchase_zero_line_deleteWant 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.