diff --git a/az_locale/fixtures/currency.json b/az_locale/fixtures/currency.json new file mode 100644 index 0000000..277caf9 --- /dev/null +++ b/az_locale/fixtures/currency.json @@ -0,0 +1,13 @@ +[ + { + "doctype": "Currency", + "name": "AZN", + "currency_name": "Azerbaijani Manat", + "symbol": "₼", + "fraction": "Qəpik", + "fraction_units": 100, + "smallest_currency_fraction_value": 0.01, + "number_format": "#,###.##", + "enabled": 1 + } +] diff --git a/az_locale/hooks.py b/az_locale/hooks.py index 4401702..d207a49 100644 --- a/az_locale/hooks.py +++ b/az_locale/hooks.py @@ -7,6 +7,8 @@ app_license = "unlicense" after_install = "az_locale.install.after_install" +fixtures = ["fixtures/currency.json"] + # Apps # ------------------