odoo/tutorials#1213
Created by Pujankumar Patel (pupat)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 5s)
- ci/tutorial: (runtime 211s)
- label
- odoo-dev:19.0-purchase-global-discount-pupat
- head
- 25dfacbe4a5291e31e615dff67b2c522ee09d7de
| odoo/tutorials | |
|---|---|
| 19.0 | #1213 missing r+ |
| master |
19.0 purchase-global-discount-pupat : Global discount on the purchase order lines.
Title : Add Global Discount Wizard in Purchase Order
Description:
- Added a button in the Purchase Order form to apply a global discount using a wizard.
- The wizard takes a discount percentage and applies it to all order lines.
Changes:
- Added "Apply Discount" button in Purchase Order view
- Created wizard (purchase.discount.wizard)
- Applied discount to all purchase.order.line records
- Extended order line with discount field
Result :
- Users can easily apply a single discount across all purchase order lines via a popup wizard.