Motherfunk - have you looked at any houses in Edinburgh? You won't get much for 150k.
Anyway, you will generally need a minimum of a 5% deposit so for this 150K house you would need 7.5K deposit plus stamp duty at 1% 1500 plus around £800 for fees/searches/deed fees etc. with your solicitor plus around 150/200 for a valuation or nearer 400 if you get a homebuyers survey. So about 10,000 for deposit plus upfront costs.
You will struggle to get a 100 or 105% mortgage in the current climate, particulary if you have a less than good credit rating.
Also bear in mind the offers over system in Scotland may mean that you are paying 150K for a house valued at 140K but your mortgage is based on the valuation not the purchase price so you will also need extra money up front to cover that difference.
2.5 or 3 xincome is what you will generally be offered from high street lenders so you and your partner (it varies and depends if joint or single application) but as a rought idea you (plus any partner) will need an annual income of around 50K to buy at the price you mentioned above.
HTH