[FIX] Fixed the traceback occured while clicking on the CONFIRM SALE from quotations where self is used instead of sale_order.