BugFix: use transfer_qty instead of actual_qty in check_duplicate_entry_for_production_order - ported webnotes/erpnext@942ff2583b3f68d921c6506179f7ee5909ba1954
Fixed set_query
Fixed Opportunity Lost UX
Deprecated client side mapper: frappe.model.map. Fixes #1530