Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 4 models 5 views 0 HTTP endpoints

Description

This module allows the usage of crm module to manage leads coming from suppliers. The flow is similar to CRM. The main change is that leads be generated from customer or supplier request type. For supplier requests leads can be converted in purchases.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
crm_case_form_view_oppor crm.lead.oppor.inherited.crm crm.lead form Inherits sale_crm.crm_case_form_view_oppor
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
quick_create_opportunity_form srm.lead.form.quick_create crm.lead form Inherits crm.quick_create_opportunity_form
srm_lead_view_form crm.lead.form crm.lead form Inherits crm.crm_lead_view_form
srm_rfq_partner_view_form srm.rfq.partner.view.form srm.rfq.partner form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (7)
  • purchase_amount_total Monetary
    compute='_compute_purchase_amount_total' currency_field='company_currency' help='Untaxed Total of Confirmed Purchase Orders' string='Sum of Purchase Orders'
  • purchase_order_count Integer
    compute='_compute_purchase_order_count' string='Number of Purchase Orders'
  • purchase_order_ids One2many → purchase.order
    comodel_name='purchase.order' inverse_name='opportunity_id' string='Purchase Orders'
  • request_for_quotation_count Integer
    compute='_compute_request_for_quotation_count' string='Number of Request for Quotations'
  • request_type Selection
    selection=[('customer', 'Customer Lead'), ('supplier', 'Supplier Lead')]
  • team_id Many2one
  • user_id Many2one
    string='Responsible'
Public methods (2)
  • action_lead_rfq_new(self)
  • action_rfq_new(self)

New fields (0)

No new fields.

Public methods (1)
  • action_your_pipeline(self)
    @api.model

New fields (1)
  • opportunity_id Many2one → crm.lead
    check_company=True comodel_name='crm.lead' domain="\n [\n ('type', '=', 'opportunity'),\n ('request_type', '=', 'supplier'),\n '|',\n ('company_id', '=', False),\n ('company_id', '=', company_id),\n ]\n "
Public methods (0)

No public methods.

New fields (3)
  • action Selection
    required=True selection=[('create', 'Create a new vendor'), ('exist', 'Link to an existing vendor'), ('nothing', 'Do not link to a vendor')] string='RFQ Vendor'
  • lead_id Many2one → crm.lead
    comodel_name='crm.lead' required=True string='Associated Lead'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Vendor'
Public methods (2)
  • action_apply(self)
    Create/link vendor if requested, then open the RFQ form.
  • default_get(self, field_list)
    @api.model