We added a new method to identify if the current pos.order.line can be discounted in a global discount, fromt he pos_discount, module. This in order to be inherited from third ones. closes odoo/odoo#127232 X-original-commit: 0c441737308bf7f47193c64d3e29c895154c3df8 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>