odoo/tutorials#1214
Created by Pujankumar Patel (pupat)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 4s)
- ci/tutorial: (runtime 62060s)
- label
- odoo-dev:19.0-purchase-order-global-discount-pupat
- head
- 7d0990ca70c17a6e2a3c8c1c1058a7de7d903c5d
| odoo/tutorials | |
|---|---|
| 19.0 | #1214 missing r+ |
| master |
19.0 Global discount on purchase - pupat
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.