Sales CRM
Sales CRM: contacts, leads, opportunities, quotes, and activities. Customer identity lives in the shared parties module and the product catalogue in the shared products module; CRM-specific columns (industry, credit limit, account manager) are layered on as an extension.
v0.4.8 · 111 installs · free
What it does
Sales CRM takes a sales team from a raw lead to an accepted quote. Reps work leads, log calls and meetings, move opportunities through a pipeline, add products and send price proposals. Managers see the pipeline by stage, source and age.
Customers are not stored here. Companies and people who buy come from the shared parties module, and products come from the shared products module. CRM adds sales fields to the customer record (industry, revenue band, credit limit, account manager) and links its own records to it, so the same customer is one record across CRM, finance and the rest.
Highlights
- Lead to deal — leads carry source, rating (Hot, Warm, Cold) and estimated value. A lead moves from New through Contacted to Qualified, and records the customer, contact and opportunity it converted into.
- Opportunity pipeline — seven stages from Prospecting to Closed Won or Closed Lost, with probability, weighted amount, days open and an overdue flag worked out for you.
- Stage and probability stay in step — closing a deal as Won sets probability to 100, closing it as Lost sets it to 0, whichever way the stage was changed (card, kanban drag, bulk edit).
- Products on deals and quotes — line items pick from products flagged for sale, with quantity, unit price and a line discount. Line totals are calculated.
- Quotes in one click — Create Quote copies the opportunity's lines into a draft quote. Quotes are numbered automatically (
Q-2026-001, restarting each year) and carry a quote-level discount and tax rate, with the total calculated from the subtotal. - Activities — calls, emails, meetings, tasks and notes tied to a customer, contact, lead or opportunity, with due dates, status and an overdue flag.
- Kanban and calendar — drag leads, opportunities, quotes and tasks between stages, and see activities on a calendar.
- Printable documents — a quote print form, an opportunity brief and a customer profile.
Data model
Demo data
Sample contacts, leads, opportunities and their lines, quotes and their lines, and activities. Lines use the demo products from the products module.
How it fits
CRM stays independent of finance and pricing. Two small bridge modules connect it when you need them:
- crm-fin adds Create Invoice on an accepted quote, invoice lookups on quotes, and a customer credit check report. It needs fin.
- crm-pricing adds Refresh Prices on quotes and suggests unit price and discount as a rep edits a line. It needs pricing.
Customers come from parties and products from products. erp-pack installs all of them together.
Extends other modules
What this module adds to entities of other modules.
Parties parties
- Parties+ Industry+ Website+ Annual Revenue+ Employees+ Credit Limit+ Account Manager+ Contacts+ Opportunities+ Activities
Used by
Published modules that build on this one.
- CRM–Finance IntegrationBridges CRM and Finance
- CRM–Pricing IntegrationBridges CRM and Pricing
- ERP SuitepackSales, finance, warehouse, HR — installed and wired together as a starter ERP.
What's inside
The module's own entities, views, reports, print templates and actions.
Entities 7
contactleadopportunityopportunity_linequotequote_lineactivityViews 15
Reports 5
Print templates 3
Triggers 3
Actions 12
Roles
Shipped with the module and assignable the moment it installs.
- CRM Administrator
crm.admin— full CRM + customer record management - Sales Manager
crm.sales-manager— full operational access including discount approval - Sales Representative
crm.sales-rep— own pipeline; no discount approval, no bulk disqualify, no customer deletes - CRM Viewer (Read-Only)
crm.viewer
Settings
Configurable per workspace, under Admin.
| Setting | Type | Default |
|---|---|---|
quote_number_prefixPrefix for auto-generated quote numbers (e.g. Q- produces Q-2026-001) | text | Q- |
default_currencyDefault currency code for leads, opportunities and quotes | text | USD |
0.4.8Dec 4, 2026
Ukrainian
For users
Sales CRM is available in Ukrainian: entities, fields, option lists, views, menus, actions, reports, messages and the module page.
For developers
translations/uk-UA.json,translations/README.uk-UA.md;uk-UAadded tosupportedLocales.
0.4.7Dec 3, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.4.6Dec 1, 2026
Sales dashboard
For users
The CRM folder now opens with a dashboard: open and weighted pipeline, won revenue, overdue activities, the pipeline by stage and leads by status. Edit it to make it your own.
For developers
ui/dashboards.json: the default dashboard (six tiles on the module's root folder).translations/: dropdown option labels (statuses, types, priorities) in de, so charts and grids show them in the user's language.version→0.4.6.
0.4.5Nov 10, 2026
Entity codes qualified in action scripts
For users
No visible change.
For developers
logic/: DSL scripts name entities with their module prefix (crm.<entity>), so a bare code can no longer resolve to another module's entity.version→0.4.5.
0.4.4Nov 4, 2026
Create Quote subtotal includes line discounts
Install requirement: none.
For users
Create Quote now sets the quote's subtotal to the sum of its lines after each line's discount. Before, it ignored line discounts, so the subtotal was higher than the lines added up to and the quote total was too high.
Discount limits agree. The discount fields and the Apply Discount parameter now stop at 99%. The database check always refused 100%, but the forms and the action accepted it and failed on save.
For admins
Quotes already created this way keep their old subtotal. Correct the subtotal by hand on any of them with discounted lines.
For developers
create_quote_from_oppsumsquantity × unit_price × (1 − discount_pct / 100)per line, the same asquote_line.total_price.discount_pctparams.maxonquote_lineandopportunity_line, andmaxon theapply_discountparameter, are 99, matchingchk_discount_range(< 100).version→0.4.4.
0.4.2Oct 26, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.4.0Oct 8, 2026
Leads, opportunities and quotes carry a currency
Install requirement: parties 0.3.0 or newer, which owns the shared currency list and the currency on a party.
For users
Leads, opportunities and quotes have a Currency field. Every amount on the record, its lines and its printout shows that currency: a quote in EUR shows €, not $. A new record starts with the Default Currency setting and you can change it on the record.
A party's annual revenue and credit limit follow the currency on the party itself.
The currency column is hidden in the grids by default — the amounts beside it already carry the symbol.
For admins
- Existing leads, opportunities and quotes get
USD. The Default Currency setting is created by this upgrade withUSDas its value, so that is what every existing record receives. Records in another currency have to be corrected afterwards, one by one. - Set Default Currency now so that records created from here on start in the right currency.
- Amounts are not converted. A total over records in different currencies shows no symbol — that is deliberate, not a missing format.
- Convert to Quote copies the opportunity's currency to the new quote.
For developers
- New required
currencycolumn (varchar(3)) onlead,opportunityandquote, bound to theparties.currencydomain. The standard record editor prefills it from$[default_currency]; programmatic inserts must provide it explicitly. The value is stored on the record, so changing the setting later leaves existing rows untouched — the upgrade backfills existing records separately with the setting's value. - On
quote_line/opportunity_lineit is a formula column —[quote].[currency]/[opportunity].[currency]— because a line cannot be in a currency other than its document's. - Every amount field carries
"params": { "currencyColumn": "currency" }with no fixed fallback, including the derived ones (weighted_amount,total_price,discount_amount,tax_amount,total) that previously formatted with no symbol at all. parties.party.annual_revenue/credit_limit(this module's extension) point at the baseparty.currencycolumn owned byparties.create_quote_from_opppassescurrencyexplicitly: the$[default_currency]default is filled in by the form only, so an insert that omits a required column fails.- Report datasets select
currencyas a hidden column: a dataset returns only the columns it names, andcurrencyColumnreads the code from the row, so without it amounts format with no symbol. Data views need nothing — a grid loads every visible column of the entity and hides the ones its layout does not list.
0.3.2Oct 5, 2026
Report names and descriptions
Install requirement: none. On a platform older than 1.28.0 the description still names each report, as before.
For users
Each report — Sales Pipeline, Sales Funnel, Deal Analysis, Opportunity Heatmap and Sales Overview — is titled by its name, with a line underneath saying what it shows.
For developers
- Every report in
ui/reports.jsondeclares alabel, and itsdescriptionnow says what the report shows instead of repeating the name. Without a label, platform 1.28.0 warns at pack, validate and install. version→0.3.2.
0.3.1Sep 29, 2026
Action messages in German
Install requirement: platform 1.26.0 or newer (metadata 1.14.0), which translates action messages.
For users
The messages CRM shows after you create a quote, log a follow-up or assign a lead source are now in German for German users.
For developers
- Two of the four messages in
logic/actions/joined text and values; they now use{placeholders}with their values in an object argument.translations/de-DE.jsontranslates all four in a newmessagesblock. dependenciesgains"metadata": ">=1.14.0"with adeps/metadata.jsoncontract, so an older platform refuses the install instead of showing{placeholders}literally.version→0.3.1.
0.3.0Sep 27, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.2.9Sep 18, 2026
Products now come from the shared Products catalogue
For users
Opportunity and Quote Lines now pick products from the shared product catalogue owned by the Products module, instead of a private CRM-only list.
The lookup shows only products marked For Sale, so internal-use or purchase-only items stay out of a sales document.
Manage the catalogue under Products, not under CRM — the old CRM > Catalog menu is gone, along with the CRM Products grid and list.
The Unit Price on a line is the price agreed for that deal — type it in yourself, or use Refresh Prices to take it from a price list if the CRM–Pricing integration is installed. The shared product itself holds no price.
For admins
crm.productis removed. Its entity definition, seed file, two data views (products,products_list), thecatalogmenu section, its folder binding and its own translations are gone. The catalogue lives inproducts.product(moduleproducts>= 0.1.0), which is now a declared CRM dependency with a contract indeps/products.json.crm.opportunity_line.productandcrm.quote_line.productrepoint theirlink.entityand theirFK_*_Producttarget to the qualified entityproducts.product, and both carryrefFilter { "c": "for_sale", "o": "eq", "v": true }.Permissions keep the same rights letters, but over a wider set of records. The old grants on the local
productare re-granted onproducts.product:crm.adminSIUDC,crm.sales-managerSU,crm.sales-repS,crm.viewerS. CRM roles getSonproducts.product_categoryso users editing shared products can list and select a category, matching what the old CRM Product form allowed; no role gains write access to categories.This is a deliberate widening of scope, not a like-for-like carry-over.
crm.adminpreviously administered only CRM's own product list; it now has SIUDC over the whole shared catalogue, warehouse goods included, andcrm.sales-managercan update those same records. What is preserved is the ability, not the screen: CRM's own Products views and Catalog menu are removed in this release, so those roles now exercise this right through the Products module's UI. The trade-off was accepted so CRM roles keep being able to maintain the products they sell without a separate Products-module grant. Deployments that want catalogue administration confined to the Products module should reduce these consumer roles toSand grant the Products module's own roles instead. Note that entity rights are additive only across roles that apply in the folder being accessed, so the Products roles have to be assigned in the relevant folder context for that substitution to take effect.unit_priceon Opportunity/Quote Lines is untouched — it was never read from the product and still is not.create_quote_from_oppis unchanged: it copiesproduct_idandunit_priceverbatim, so it needed no rewrite.Schema change —
version→0.2.9,dbSchemaVersion→0.2.2.Install order —
partiesandproductsbeforecrm.
Existing tenants
This change is fresh-install only. It does not migrate an existing tenant: rows already
in crm.product are not copied into products.product, and the physical FK on an existing
crm.quote_line / crm.opportunity_line is not switched. Use it on a clean install.
Demo data
CRM no longer seeds products. Opportunity and Quote Line seeds keep referencing IDs
1001–1010, which the products module seeds with the same codes, names, descriptions and
categories. The list price that used to sit on crm.product.unit_price is not carried into
products.product (the shared product holds no price); those values are seeded into the
default Price List by the pricing module instead. Seeded line prices are unchanged.
0.2.8Aug 17, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.2.6Aug 10, 2026
Invoice link on Quotes now belongs entirely to the CRM–Finance bridge
For users
The Invoice field on a Quote is now populated correctly after Create Invoice runs, and the sample data no longer ships quotes that look "Invoiced" but have an empty Invoice link. Two seed quotes that were pre-marked Invoiced are now Accepted — so you can actually run Create Invoice on them and see the link fill in.
For admins
- Removed the
invoice_idcolumn (and its translations) fromcrm.quote. Quote↔Invoice linkage is owned by the crm-fin bridge, which already declares both theinvoice_idFK (stored incrm-fin.quote_ext) and the visibleinvoiceReference. The base CRM module was duplicating theinvoice_iddeclaration and shippingconvert_quote_to_invoice/check_credit_limitaction labels that belong to crm-fin — a module-boundary leak (core must not know about Finance).- Root cause of the "empty Invoice" bug: base CRM declared
invoice_idas a plain physical column while crm-fin declared it againstcrm-fin.quote_ext. The two declarations disagreed on storage, so whichever module installed last won — and when CRM won,convert_quote_to_invoicewrote to a column theinvoiceReference did not read. The seed compounded it by writing aninvoice_idvalue the ext table never received. - English labels for
invoice/convert_quote_to_invoice/check_credit_limitare unaffected — they come from crm-fin's own actionlabel/ entitydescriptiondefaults (crm-fin'ssupportedLocalesisde-DE; English is the built-in default).
- Root cause of the "empty Invoice" bug: base CRM declared
- Seed: quotes
QT-2025-003andQT-2025-008changed fromInvoicedtoAcceptedand no longer carry aninvoice_id(an extension column the CRM seed can't write). See the matching Finance seed change infin0.1.10. - Schema change —
version→0.2.6,dbSchemaVersion→0.2.1. The installer removes the orphanedinvoice_idfrom CRM metadata; the physicalcrm.quote.invoice_idcolumn on existing tenants is retained (operator-confirmed cleanup viamodule drop-orphans), and crm-fin re-registersinvoice_idagainstcrm-fin.quote_exton its own install. - Upgrade order matters — upgrade
crmbeforecrm-fin. See the crm-fin0.0.8note.
Existing tenants
Seed data is inserted with ON CONFLICT DO NOTHING, so the two sample quotes are not rewritten on upgrade. A tenant that already has the demo data keeps QT-2025-003 / QT-2025-008 at status Invoiced with an empty Invoice link. Either leave them (they are sample rows) or fix them by hand:
UPDATE crm.quote SET status = 'Accepted' WHERE quote_number IN ('QT-2025-003', 'QT-2025-008');
0.2.5Aug 7, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.2.4Aug 7, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
0.2.3Aug 4, 2026
Changelog
0.0.1 (2026-02-09)
Added
- Initial release of Sales CRM module
- 9 entities: account, contact, lead, opportunity, opportunity_line, product, quote, quote_line, activity
- Lead-to-opportunity conversion tracking
- Opportunity pipeline with stage management
- Quote generation with line items
- Activity tracking (calls, emails, meetings, tasks, notes)
- Product/service catalog with seed data
- 12 data views including grid, kanban, calendar, and master-detail
- 4 security roles: admin, sales-manager, sales-rep, viewer
- English translations
Browse the full
module catalog.
Every module is metadata — install it in one click, then change anything.