added country Aruba and currency AWG

This commit is contained in:
Nabin Hait 2013-04-02 14:26:26 +05:30
parent 9db1a68d89
commit 996e469562
2 changed files with 21 additions and 0 deletions

View 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()

View File

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