brotherton-erpnext/erpnext/patches/v13_0/update_exchange_rate_settings.py
2022-01-10 21:28:29 +05:30

10 lines
347 B
Python

import frappe
from erpnext.setup.install import setup_currency_exchange
def execute():
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_result")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_details")
setup_currency_exchange()