Hi everyone
I am currently deploying a lean, high-performance commercial suite based exclusively on Frappe Framework and Frappe CRM for an implementation where only require sales pipeline management and messaging.
The standard Frappe CRM features (Leads, Deals, pipeline management, and WhatsApp integration) are perfect for workflow.
However, there is a critical requirement that is missing from the core CRM app: generating formal Quotation/Proposal PDFs for clients without pulling in the massive overhead of ERPNext.
No everybody needs full accounting, stock valuation, or warehouse management modules—they just need to quote and sell.
To solve this, I want to build a custom lightweight solution inside a dedicated custom app. I would love to get the community’s feedback, best practices, or potential pitfalls regarding my architectural design.
My Proposed Design:
I intend to create a new custom DocType called CRM Quotation with the following logic:
-
Hybrid Relationships (Fields):
• deal: An optional Link field pointing to CRM Deal.
• party_type: A Select field with options: CRM Organization and CRM Contact.
• party: A Dynamic Link field dependent on party_type.
• items: A Table field (Child DocType) pulling products and rates from the CRM catalog. -
Creation Workflows (Dual Entry-Points):
• Workflow A (From Deal): A Vue 3 custom action button injected via CRM Form Script into the CRM Deal view. Clicking it fetches the current Deal ID, automatically maps the associated Organization/Contact, copies the pre-selected products into the child table, and redirects the salesperson to the pre-filled CRM Quotation.
• Workflow B (Standalone / Free Creation): Creating a quotation directly from the custom app menu or awesomebar. The deal field remains empty, allowing the salesperson to freely choose a party_type (Organization or Contact), select any client from the CRM database, and add items manually. -
Output: A standard Frappe Print Format to export clean, professional PDFs to send via email or WhatsApp.
Questions for the Community:
-
Since Frappe CRM v16 uses a modern Vue 3 interface, what is the recommended way to inject custom top-bar action buttons or tab panel elements into the CRM Deal view seamlessly? Are there official UI script conventions or hooks I should look at?
-
Has anyone else built a lightweight quoting extension specifically for Frappe CRM? Are there any hidden dependencies or upcoming roadmaps in the core CRM app that might conflict with a custom CRM Quotation DocType?
-
Any recommendations on handling tax calculations (like a flat local VAT) cleanly within the Server Script controller for this custom setup?
Looking forward to your insights, technical advice, or suggestions!
Best regards