Enable and Disable Modules

Which parts of HotCRM are modules, how to switch one off and on, and what leaves while it is off — apps, sidebar entries, buttons, fields on other records — measured on ObjectStack 18.6.0.

Enable and Disable Modules

HotCRM ships as one product: the core Sales app and six modules. A company that does not use a module switches it off, and switches it back on when it needs it. Nothing is uninstalled and nothing is deleted.

ModuleIn the Packages list it is calledWhat it brings
ServiceHotCRM ServiceThe Service app: cases, SLAs, the knowledge base
Products and quotesHotCRM RevenueProducts, price books and quotes, inside the Sales app
MarketingHotCRM MarketingThe Marketing app: campaigns and their members
Order to CashHotCRM Order to CashThe Order to Cash app: billing milestones, invoices, payments
ExpensesHotCRM ExpensesThe Expenses app: expenses, expense reports, travel requests
Project DeliveryHotCRM Project DeliveryThe Project Delivery app: projects, staffing, budgets, timesheets

Accounts, contacts, leads, opportunities, contracts, orders and tasks belong to the core and are always on.

Switching a module off or on

The switch is on the Packages page, the platform's full list of what is installed. On ObjectStack 18.6.0 neither the Setup menu nor Studio has an entry for that page (objectstack#35196). Setup → Installed Apps opens a list of only the apps installed from the marketplace, with no control that widens it. Where HotCRM is loaded from code (the Source column of the Packages page reads Code), that list is empty.

An administrator opens /_console/apps/com.objectstack.setup/component/developer/packages, the page titled Packages, opens the module, chooses Disable and confirms. The module's Status then reads Disabled, and Enable on the same panel turns it back on. The same switch is PATCH /api/v1/packages/<id>/disable (and /enable) for a script, where the id is app.objectstack.hotcrm.<module>: service, revenue, marketing, o2c, expense or psa.

The switch takes effect at once, for everyone, administrators included.

What leaves while a module is off

Measured on ObjectStack 18.6.0, one module at a time, with the demo data:

  • Its app leaves the app launcher. That is the Service, Marketing, Order to Cash, Expenses or Project Delivery app; products and quotes have no app of their own.

  • Its records cannot be opened or listed. A request for one answers 404 OBJECT_PACKAGE_DISABLED. The platform's REST search still returns them (objectstack#35195).

  • Its sidebar entries in other apps leave too:

    OffEntries that leave other apps
    ServiceKnowledge, the rep's entry in Sales
    Products and quotesQuotes, Products, Price Books, Product Catalog and Revenue Manual in Sales
    Order to CashThe Collection Plan group (Billing Milestones) and Order to Cash Manual in Sales
    ExpensesMy Expenses, Reports to Approve and My Travel Requests in Project Delivery
  • Its buttons leave, including the ones it places on core records: Generate Quote on an opportunity while products and quotes are off; Add to Campaign on leads and contacts while Marketing is off.

  • Fields it adds to other records leave those records:

    OffFields that leave
    Order to CashPlanned, Invoiced, Received and Receivable Balance on a contract; Invoiced, Received and Receivable Balance on an account
    Project DeliveryProject on an expense, an expense report and a travel request

    With Project Delivery off, an Expenses list that shows a Project column opens without it, and one line above the list says why: "Not shown, filtered, sorted or grouped by crm_project: the package that adds it is disabled. It comes back when the package is enabled." The line names the field by its API name; crm_project is the Project column.

What stays

  • The records. Switching a module off deletes nothing. Switched back on, its records, app, entries, buttons and fields return as they were.
  • A field on a core record that points into the module stays, with its value. An opportunity's Campaign keeps the campaign it names while Marketing is off, and the opportunity can still be edited; the picker finds nothing new until Marketing is back. The same holds for a task's related case while Service is off.
  • What another module stored. With Project Delivery off, an expense keeps the project it named, and shows it again once Project Delivery is on. With Expenses off, a project keeps its expense cost as last counted; it moves again once Expenses is on.

Modules that depend on each other

Project Delivery uses Expenses: a project's expense cost comes from approved expense reports. The platform does not stop you switching Expenses off while Project Delivery is on. Projects still open, list and edit; their expense figures stop moving until Expenses is back.

With Project Delivery off and Expenses on, expenses are recorded and sent without a project: every selection makes one report, and every report goes to the spender's manager.

  • Setup Checklist — the first configuration of a new install.
  • Profiles — who sees which app when every module is on.

On this page