7.0 opw 611254 vra

Current system is not converting amount for purchase and sale receipt voucher to company currency by applying proper rate.

The propose pull request fixes the issue while creating multi-currency environment with purchase and sale type of voucher.

you need to set the date of the voucher in the context to use the correct currency