added country Aruba and currency AWG
This commit is contained in:
parent
9db1a68d89
commit
996e469562
20
patches/april_2013/p02_add_country_and_currency.py
Normal file
20
patches/april_2013/p02_add_country_and_currency.py
Normal file
@ -0,0 +1,20 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
if not webnotes.conn.exists("Country", "Aruba"):
|
||||
webnotes.bean({
|
||||
"doctype": "Country",
|
||||
"country_name": "Aruba",
|
||||
"time_zones": "America/Aruba",
|
||||
"date_format": "mm-dd-yyyy"
|
||||
}).insert()
|
||||
|
||||
if not webnotes.conn.exists("Currency", "AWG"):
|
||||
webnotes.bean({
|
||||
"doctype": "Currency",
|
||||
"currency_name": "AWG",
|
||||
"fraction": "Cent",
|
||||
"fraction_units": 100,
|
||||
"symbol": "Afl",
|
||||
"number_format": "#,###.##"
|
||||
}).insert()
|
||||
|
@ -228,4 +228,5 @@ patch_list = [
|
||||
"patches.march_2013.p11_update_attach_files",
|
||||
"patches.march_2013.p12_set_item_tax_rate_in_json",
|
||||
"patches.april_2013.p01_update_serial_no_valuation_rate",
|
||||
"patches.april_2013.p02_add_country_and_currency",
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user