Before this commit, sales orders/invoices that had been canceled could still be paid from a payment link. Now, when trying to pay for a canceled sales order/invoice, the amount to pay is set to zero. Task - 2735019 closes odoo/odoo#85728 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>