OdooWiki OCA HUB

Sale Order Type Quotation Number

sale_order_type_quotation_number folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module allows to set a quotation sequence depending on the sale order type. It also makes compatible the modules sale_order_type and sale_quotation_number, so both a sale order sequence and a quotation sequence can be set in a sale order type.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you assign a specific quotation numbering sequence to each sale order type, so quotations are numbered according to the type of sale. It also adds a button on quotations to update the number when the type changes.

This module connects sale order types with quotation numbering. On each sale order type (for example, a type used for a specific sales channel or product family), you can now choose a 'Quotation Sequence' in addition to the existing sale order sequence. This field appears on the sale order type form, list and search views, and you can group sale order types by quotation sequence in the search filters.

When a quotation is created, Odoo automatically picks the quotation sequence defined on its sale order type. If no sequence is set on the type, it falls back to the standard quotation sequence. The same logic applies to the final sale order number: if the type has a sale order sequence, that one is used.

On the quotation form, a button 'Recompute Quotation Seq.' appears when the quotation is still in draft or sent state and the type's quotation sequence differs from the one already applied. Clicking it asks for confirmation because it will create a gap in the previous sequence, then assigns a new number from the type's sequence. This is useful if you change the sale order type after the quotation was created.

The module works together with the sale order type and quotation number modules, and it affects the sale.order and sale.order.type models.

Models and fields (2)
  • sale.order · extends an existing modelrecompute_quotation_seq, applied_quotation_seq_id
  • sale.order.type · extends an existing modelquotation_sequence_id (Quotation Sequence)

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 15.0

To configure this module you need to

  • Go to Sales > Configuration > Sale Order Types and select an order type
  • Select a sequence in "Quotation Sequence" field. If the field is left blank, the default quoation sequence will be used.

When the quotation sequence applied to a quotation has changed, click on the "Recompute Quotation Seq." in order to generate the new quotation number.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.