Modify smallest currency fraction for USD (#6000)

This commit is contained in:
Shreya Shah 2018-08-23 16:00:43 +05:30 committed by Rushabh Mehta
parent 89a8073c1f
commit 503da4d7d7
3 changed files with 10 additions and 2 deletions

View file

@ -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",

View file

@ -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

View file

@ -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')