Merge pull request #3 from ledgersmb/1.3

1.3
Fix for bug #1139 : In creating new sales/purchase orders I got a specific vendor by default. This fix also set the criteria to search only for vendor (purchase) or customer (sales) orders.
Merge pull request #50 from pongraczi/1.3

Merged #50, reviewed, and it seems straight-forward enough as far as it goes.