mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -9,34 +9,6 @@ from frappe.utils import nowdate
|
|||||||
|
|
||||||
|
|
||||||
class CurrencyExchangeSettings(Document):
|
class CurrencyExchangeSettings(Document):
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
# begin: auto-generated types
|
|
||||||
# This code is auto-generated. Do not modify anything in this block.
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from frappe.types import DF
|
|
||||||
|
|
||||||
from erpnext.accounts.doctype.currency_exchange_settings_details.currency_exchange_settings_details import (
|
|
||||||
CurrencyExchangeSettingsDetails,
|
|
||||||
)
|
|
||||||
from erpnext.accounts.doctype.currency_exchange_settings_result.currency_exchange_settings_result import (
|
|
||||||
CurrencyExchangeSettingsResult,
|
|
||||||
)
|
|
||||||
|
|
||||||
access_key: DF.Data | None
|
|
||||||
api_endpoint: DF.Data
|
|
||||||
disabled: DF.Check
|
|
||||||
req_params: DF.Table[CurrencyExchangeSettingsDetails]
|
|
||||||
result_key: DF.Table[CurrencyExchangeSettingsResult]
|
|
||||||
service_provider: DF.Literal["frankfurter.app", "exchangerate.host", "Custom"]
|
|
||||||
url: DF.Data | None
|
|
||||||
use_http: DF.Check
|
|
||||||
# end: auto-generated types
|
|
||||||
|
|
||||||
>>>>>>> 8b81274769 (refactor: toggle between 'http' and 'https' on exchange rate API)
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
self.set_parameters_and_result()
|
self.set_parameters_and_result()
|
||||||
if frappe.flags.in_test or frappe.flags.in_install or frappe.flags.in_setup_wizard:
|
if frappe.flags.in_test or frappe.flags.in_install or frappe.flags.in_setup_wizard:
|
||||||
|
|||||||
Reference in New Issue
Block a user