Aditya Hase 48585c94ff fix: Consider discount_amount only when provided to calculate rate
After selecting item_code in items table and not entering rate,
Clicking elsewhere will set rate to NaN.

All DocTypes on buying side have this bug.
2019-06-18 19:11:17 +05:30
..
2019-05-30 23:25:41 +05:30
2018-11-27 13:11:30 +05:30
2019-06-17 23:10:36 +05:30
2019-03-22 14:32:00 +05:30
2018-10-03 10:41:26 +05:30
2019-01-25 15:17:44 +05:30