odoo/odoo — pull request #1471 by pedrobaeza (2014-07-31 07:40:50+00:00)
Title: [IMP] sale: Hooks for the base price and the quantity of a sale line

With these hooks, additions like a second or third discount, or 3x2 like offers, can be made in a clean way, without rewriting functions in the core.

Also made a PR for 8.0: https://github.com/odoo/odoo/pull/1470