ERPNext: v15.12.0 (HEAD)
Frappe Framework: v15.13.0 (HEAD)
I am trying to create a sales order using python and the issue is that ir convert the values in USD but keeps the currency in CAD. Example, it the item total is CAD 149.00. It converts it to USD, example $124.00, adds them to sales order but keep the currency as CAD. How can I keep the 149.00 value?
Data:
{“doctype”: “Sales Order”,“title”: “Amazon”,“customer”: “Amazon”,“currency”: “CAD”,“price_list_currency”: “CAD”,“selling_price_list”: “CAD - List Price”,“po_no”: “555-5555555-5555555”,“customer_address”: “Shipping”,“shipping_address_name”: “Shipping”,“purchase_date”: “2026-02-17”,“po_date”: “2026-02-17”,“delivery_date”: “2026-03-11”,“sales_team”: [{…}],“items”: [{…}],“set_warehouse”: “Home”}