Set left join on currency_rate table in query for stock margin report
In case of missing currency on stock_move, query for stock margin report will bypass lines without currency.
In case of missing currency on stock_move, query for stock margin report will bypass lines without currency.