Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 8.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.05 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

Note: This module is similar to sale_quotation_number, but for purchase/rfq

  • Purchase for Quotation:
    • Purchase process in draft stage just informing prices and element of communication.
  • Purchase Order:
    • Purchase process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service.

Technical Explanation

When you create a purchase quotation, it is numbered using the 'purchase.rfq' sequence. When you confirm a purchase quotation, its rfq number is saved in the 'rfq_number' field and the purchase order gets a new number, retrieving it from 'purchase.order' sequence.

  • With Odoo Base:

    Purchase for Quotation 1 Number = PO001

    Purchase for Quotation 2 Number = PO002

  • With Odoo + This Module:

    Purchase for Quotation 1 Number = RFQ001

    Purchase for Quotation 2 Number = RFQ002

    Purchase for Quotation 1 Confirmed = Number for Purchase Order PO001 from Purchase for Quotation RFQ001

    Purchase for Quotation 2 Confirmed = Number for Purchase Order PO002 from Purchase for Quotation RFQ002

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 3

XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
report_purchasequotation_document report_purchasequotation_document ir.ui.view qweb Inherits purchase.report_purchasequotation_document
res_config_settings_view_form_purchase_rfq_number Purchase RFQ number configuration res.config.settings form Inherits purchase.res_config_settings_view_form_purchase

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (2)
  • po_number Char
    copy=False default='New' index=True string='PO Reference'
  • rfq_number Char
    copy=False default='New' index=True string='RFQ Reference'
Public methods (4)
  • action_get_rfq_attachment(self)
  • button_confirm(self)
  • button_draft(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • auto_attachment_rfq Boolean
    default=False help='Auto attachment requests for quotation after confirm' string='Auto Attachment RFQ'
  • keep_name_po Boolean
    default=True help='If this is unchecked, purchase rfq use a different sequence from Purchase orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (2)
  • auto_attachment_rfq Boolean
    readonly=False related='company_id.auto_attachment_rfq'
  • keep_name_po Boolean
    readonly=False related='company_id.keep_name_po'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…