Pre-alpha. No tagged release and no upgrade path between versions. Use for evaluation and development only, not production.
Addons DevPre-alpha

Sale module

Quotations and sales orders.

Models

ModelKey fields
sale.orderpartner, user, opportunity_idcrm.lead, state, invoice_status
sale.order.lineproduct, qty, price

States

StateMeaning
draftQuotation
sentSent to customer
saleConfirmed sales order
cancelCancelled

Events

record.updated on sale.order (hook in services/hooks.go): when state=saleinvoice_status=to invoice; cancel resets status.

Sales → Quotations (state in draft,sent, default draft), Sales Orders (state=sale), Order Lines.

Security

Groups: Sales User, Sales Manager. Record rules: own vs all orders.

Integration

  • Links to crm.lead via opportunity_id
  • Confirmed orders trigger customer invoices in account (when installed)

Depends

product, contacts, crm

Paths

  • sumeru_addons/sale/models/sale_order.go
  • sumeru_addons/sale/services/hooks.go