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 21:28:29 +05:30
import frappe
2022-01-10 17:31:38 +05:30
from erpnext.setup.install import setup_currency_exchange
def execute():
2022-01-10 21:28:29 +05:30
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()