mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 02:04:50 +00:00
1. 'reference_doc' variable is never set. Hence, removing.
2. set_exchange_rate() relies on ref_doc, which was never
set due to point [1]. Replacing it with 'doc'.
3. Sales/Purchase Invoice has 'conversion_rate' field for tracking
exchange rate. Added a get statement for them as well.
(cherry picked from commit 92ae9c2201)