tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

[ADD] sale_discount_recompute: recompute global discount on order lines changes

Open jcha-odoo opened this issue 4 months ago • 1 comments

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.

task-5008128

jcha-odoo avatar Aug 18 '25 09:08 jcha-odoo

Pull request status dashboard

robodoo avatar Aug 18 '25 09:08 robodoo