fix: set date format from system settings
This commit is contained in:
parent
2815d196de
commit
b6957ddac2
@ -351,5 +351,6 @@ erpnext.patches.v15_0.set_reserved_stock_in_bin
|
|||||||
erpnext.patches.v14_0.create_accounting_dimensions_in_supplier_quotation
|
erpnext.patches.v14_0.create_accounting_dimensions_in_supplier_quotation
|
||||||
erpnext.patches.v14_0.update_zero_asset_quantity_field
|
erpnext.patches.v14_0.update_zero_asset_quantity_field
|
||||||
execute:frappe.db.set_single_value("Buying Settings", "project_update_frequency", "Each Transaction")
|
execute:frappe.db.set_single_value("Buying Settings", "project_update_frequency", "Each Transaction")
|
||||||
|
execute:frappe.db.set_default("date_format", frappe.db.get_single_value("System Settings", "date_format"))
|
||||||
# below migration patch should always run last
|
# below migration patch should always run last
|
||||||
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
||||||
|
|||||||
@ -85,8 +85,6 @@ def set_single_defaults():
|
|||||||
except frappe.ValidationError:
|
except frappe.ValidationError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
frappe.db.set_default("date_format", "dd-mm-yyyy")
|
|
||||||
|
|
||||||
setup_currency_exchange()
|
setup_currency_exchange()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user