Merge pull request #35355 from ruthra-kumar/fix_possible_type_erro_on_so_creation_from_quotation

fix: possible type error on quotation -> sales order creation