brotherton-erpnext/erpnext/patches/v13_0/update_exchange_rate_settings.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
348 B
Python
Raw Normal View History

2022-01-10 15:58:29 +00:00
import frappe
2022-01-10 12:01:38 +00:00
from erpnext.setup.install import setup_currency_exchange
def execute():
2022-01-10 15:58:29 +00:00
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_result")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_details")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings")
setup_currency_exchange()