Purchase For Quotation Numeration

purchase_rfq_number
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_rfq_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ProThai
MAINTAINERS
MAINTAINERSprapassornS
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, ROBBYHOOD9
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field 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 xpath Inherits purchase.res_config_settings_view_form_purchase
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.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_rfq_number
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ProThai
MAINTAINERS
MAINTAINERSprapassornS
COMMITTERS
COMMITTERSPedro M. Baeza, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci, RUS
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field 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 xpath Inherits purchase.res_config_settings_view_form_purchase
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)
    @api.model

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.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_rfq_number
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ProThai
MAINTAINERS
MAINTAINERSprapassornS
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, oca-ci, newtratip, Alessandro Uffreduzzi, Simone Versienti
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field 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 xpath Inherits purchase.res_config_settings_view_form_purchase
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)
    @api.model

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.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/8.0/purchase_rfq_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), OpenSynergy Indonesia
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), OpenSynergy Indonesia
COMMITTERS
COMMITTERSStéphane Bidoul, OCA Transbot, oca-travis, Weblate, mike
WEBSITE
WEBSITEhttps://opensynergy-indonesia.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • copy(self, default=None)
    @api.one
  • create(self, vals)
    @api.model
  • wkf_confirm_order(self)
    @api.multi