odoo/tutorials#922
Created by Jay Chauhan (jcha)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 31s)
- ci/tutorial: (runtime 219s)
- label
- odoo-dev:18.0-sale_discount_recompute-jcha
- head
- f2fe1eff7f56ba7f7475b2e8d1165a5cb902db66
odoo/tutorials | |
---|---|
18.0 | #922 missing r+ |
master |
[ADD] sale_discount_recompute: recompute global discount on order lines changes
Ensure that the global discount line in Sale Orders is kept in sync with the current order lines.
- Recalculate discount when order lines are added, updated, or removed.
- Remove discount line when no order line is present.
- Handle for single discount and multi-discount lines as well.