Addons DevPre-alpha
Cross-module flows
How standard business modules connect at runtime.
Lead to cash (revenue)
utm.* (attribution on crm.lead)
→ crm.lead (pipeline stages)
→ [Won stage] sale_crm creates sale.order (draft quotation)
→ sale.order confirmed (state=sale)
→ account auto-creates account.move (customer invoice)
→ post invoice → register payment → reconcile
| Step | Trigger | Implementation |
|---|---|---|
| Won → quotation | record.updated on crm.lead | sale_crm/init.go |
| SO → invoice | record.updated on sale.order when state=sale | account/services/hooks.go |
| Invoice posting | Object action action_post | account/services/invoice.go |
| Payment | Wizard account.payment.register | account/services/payment.go |
Procure to pay (spend)
product.product
→ purchase.order (RFQ → confirmed PO)
→ [state=purchase] account auto-creates vendor bill
→ post bill → register payment
| Step | Trigger | Implementation |
|---|---|---|
| PO → bill | record.updated on purchase.order | account/services/hooks.go |
| Product GL accounts | Invoice line creation | account/services/invoice.go |
CRM ↔ mail
mail.activity on crm.lead syncs to crm.activity.report for reporting menus.
HR ↔ contacts
hr.employee links to core.partner and optional core.user.
Field relations (key links)
| Model | Field | Target |
|---|---|---|
sale.order | opportunity_id | crm.lead |
sale.order.line | product_id | product.product |
crm.lead | partner_id | core.partner |
account.move.line | product_id | product.product |
Extending flows
- Custom addon in
sumeru_custom_addons/addons/— subscribe to same events - Bridge module — thin
init.goonly (seesale_crm) - Object action — add button on form via XML +
RegisterObjectAction