Modify smallest currency fraction for USD (#6000)
This commit is contained in:
parent
89a8073c1f
commit
503da4d7d7
3 changed files with 10 additions and 2 deletions
|
|
@ -2554,7 +2554,7 @@
|
|||
"currency": "USD",
|
||||
"currency_fraction": "Cent",
|
||||
"currency_fraction_units": 100,
|
||||
"smallest_currency_fraction_value": 0.05,
|
||||
"smallest_currency_fraction_value": 0.01,
|
||||
"currency_name": "US Dollar",
|
||||
"currency_symbol": "$",
|
||||
"date_format": "mm-dd-yyyy",
|
||||
|
|
|
|||
|
|
@ -203,4 +203,5 @@ execute:frappe.delete_doc('Page', 'data-import-tool', ignore_missing=True)
|
|||
frappe.patches.v10_0.reload_countries_and_currencies
|
||||
frappe.patches.v10_0.set_no_copy_to_workflow_state
|
||||
frappe.patches.v10_0.increase_single_table_column_length
|
||||
frappe.patches.v10_0.set_default_locking_time
|
||||
frappe.patches.v10_0.set_default_locking_time
|
||||
frappe.patches.v10_0.modify_smallest_currency_fraction
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
# MIT License. See license.txt
|
||||
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.db.set_value('Currency', 'USD', 'smallest_currency_fraction_value', '0.01')
|
||||
Loading…
Add table
Reference in a new issue