diff --git a/jey_wizard/__init__.py b/jey_wizard/__init__.py index c2e5539..8ef886b 100644 --- a/jey_wizard/__init__.py +++ b/jey_wizard/__init__.py @@ -1 +1 @@ -__version__ = "0.1.33" +__version__ = "0.1.34" diff --git a/jey_wizard/etaxes.py b/jey_wizard/etaxes.py index 50ae80e..84bb81d 100644 --- a/jey_wizard/etaxes.py +++ b/jey_wizard/etaxes.py @@ -1277,6 +1277,10 @@ def _materialize_amas_employees(company_name): employees_data=json.dumps(employees, ensure_ascii=False), company=company_name, create_designation=create_designation, + # "short" queue jumps ahead of the post-setup backlog on "default", + # so employees start importing as soon as the single worker frees + # instead of after a minute of waiting. + queue="short", ) # New (post-parallel-import refactor) response shape: # {success: True, enqueued: True, total: N} @@ -1296,6 +1300,7 @@ def _materialize_amas_employees(company_name): employees_data=json.dumps(employees, ensure_ascii=False), company=company_name, create_designation=create_designation, + queue="short", ) except Exception as exc: frappe.log_error( diff --git a/jey_wizard/public/js/jey_setup.js b/jey_wizard/public/js/jey_setup.js index 8f44e50..d0562f5 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 badge 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.1.33"; +const JEY_WIZARD_VERSION = "0.1.34"; // 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. @@ -381,12 +381,10 @@ frappe.setup.SetupWizard = class JeySetupWizard { const rows = (this.amas_accounts || []).map((a, i) => { const name = a.accountName || a.name || ""; const voen = a.accountNumber || a.voen || a.number || ""; - const role = a.roleName || a.role || ""; return ` ${frappe.utils.escape_html(name)} ${frappe.utils.escape_html(voen)} - ${frappe.utils.escape_html(role)} @@ -401,7 +399,6 @@ frappe.setup.SetupWizard = class JeySetupWizard { ${__("Organization")} ${__("VĂ–EN")} - ${__("Role")} ${rows}