Merge pull request #4 from ledgersmb/1.4

1.4
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 #52 from pongraczi/1.4

1.4 - Fix for bug #1139 - port from 1.3, including Changelog entry, too