odoo/tutorials#1298

Created by Shreykumar Amulkumar Patel (patsh)

Blocked

label
odoo-dev:19.0-sale-discount-patsh
head
c14664ab71bd1eb647234141db2a72a281791f84
odoo/tutorials
19.0 #1298 missing r+
master

[ADD] sale_update: update global discount when order lines change

This Pull Request introduces the sale_update module, a module designed to synchronize global discounts with sale order lines. Key features include dynamic recalculation of discount percentages whenever order lines are modified, and automated cleanup logic that removes discount lines entirely when no primary order lines remain.

project - [PSIM] INTERNSHIP ONBOARDING
task - [sale_management] : Discount value should get update when updating orderlines