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.

10 lines
347 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")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_result")
frappe.reload_doc("accounts", "doctype", "currency_exchange_settings_details")
2022-01-10 12:01:38 +00:00
setup_currency_exchange()