diff --git a/jey_wizard/__init__.py b/jey_wizard/__init__.py index 3b93d0b..27fdca4 100644 --- a/jey_wizard/__init__.py +++ b/jey_wizard/__init__.py @@ -1 +1 @@ -__version__ = "0.0.2" +__version__ = "0.0.3" diff --git a/jey_wizard/public/js/jey_setup.js b/jey_wizard/public/js/jey_setup.js index e2cbfa4..b65a7fd 100644 --- a/jey_wizard/public/js/jey_setup.js +++ b/jey_wizard/public/js/jey_setup.js @@ -10,7 +10,7 @@ frappe.provide("jey_wizard"); // Bump this string in every commit that changes wizard code. Displayed in the footer so // we can tell at a glance which version is actually running on a given machine. Kept in // sync with __version__ in jey_wizard/__init__.py. -const JEY_WIZARD_VERSION = "0.0.2"; +const JEY_WIZARD_VERSION = "0.0.3"; // Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners // don't try to mutate a wizard that isn't slide-based anymore. @@ -162,7 +162,10 @@ frappe.setup.SetupWizard = class JeySetupWizard { password: "", company_name: company, company_abbr: abbr, - chart_of_accounts: "az_chart_of_accounts", + // This must be the `name` FIELD from inside the JSON chart file, not the + // filename. erpnext's get_chart() iterates verified/*.json and matches on + // the "name" key. az_locale's az_chart_of_accounts.json has name="Azerbaijan Republic". + chart_of_accounts: "Azerbaijan Republic", fy_start_date: `${year}-01-01`, fy_end_date: `${year}-12-31`, setup_demo: 0,