Sale Quotation Numeration

sale_quotation_number
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_quotation_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSRuchir Shukla, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
- Sale Quotation:
  - Sale process in draft stage just informing prices and element of
    communication.
- Sale Order:
  - Sale process confirmed, the customer already have a compromise with
    us in terms of pay an invoice and receive our product or service.

Originally Odoo manage only 1 sequence for this 2 documents, then the
sales order won and lost manage the same sequence losing almost all lost
quotations in terms of sequences, making so difficult understand with a
quick view if we are good or bad in terms of logistic and sale process
already confirmed.

**Technical Explanation**

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

- With Odoo Base:

  > Sale Quotation 1 Number = SO001
  >
  > Sale Quotation 2 Number = SO002
  >
  > Sale Quotation 3 Number = SO003
  >
  > Sale Quotation 4 Number = SO004

- With Odoo + This Module:

  > Sale Quotation 1 Number = SQ001
  >
  > Sale Quotation 2 Number = SQ002
  >
  > Sale Quotation 3 Number = SQ003
  >
  > Sale Quotation 4 Number = SQ004
  >
  > Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale
  > Quotation SQ002
  >
  > Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale
  > Quotation SQ001
  >
  > Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale
  > Quotation SQ004

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • action_confirm(self)
  • copy(self, default=None)
  • create(self, vals_list)
    @api.model_create_multi
  • is_using_quotation_number(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_quotation_number
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Roger, sygel, Christopher Rogos
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
- Sale Quotation:
  - Sale process in draft stage just informing prices and element of
    communication.
- Sale Order:
  - Sale process confirmed, the customer already have a compromise with
    us in terms of pay an invoice and receive our product or service.

Originally Odoo manage only 1 sequence for this 2 documents, then the
sales order won and lost manage the same sequence losing almost all lost
quotations in terms of sequences, making so difficult understand with a
quick view if we are good or bad in terms of logistic and sale process
already confirmed.

**Technical Explanation**

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

- With Odoo Base:

  > Sale Quotation 1 Number = SO001
  >
  > Sale Quotation 2 Number = SO002
  >
  > Sale Quotation 3 Number = SO003
  >
  > Sale Quotation 4 Number = SO004

- With Odoo + This Module:

  > Sale Quotation 1 Number = SQ001
  >
  > Sale Quotation 2 Number = SQ002
  >
  > Sale Quotation 3 Number = SQ003
  >
  > Sale Quotation 4 Number = SQ004
  >
  > Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale
  > Quotation SQ002
  >
  > Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale
  > Quotation SQ001
  >
  > Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale
  > Quotation SQ004

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (1)
  • quotation_seq_used Boolean
    copy=False default=False readonly=True string='Quotation Sequence Used'
Public methods (6)
  • action_confirm(self)
  • copy(self, default=None)
  • create(self, vals_list)
    @api.model_create_multi
  • get_quotation_seq(self)
    @api.model
  • get_sale_order_seq(self)
  • is_using_quotation_number(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_quotation_number
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, dsolanki, bosd, sygel, Dario Del Zozzo, Mohamed Osman
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (1)
  • quotation_seq_used Boolean
    copy=False default=False readonly=True string='Quotation Sequence Used'
Public methods (6)
  • action_confirm(self)
  • copy(self, default=None)
  • create(self, vals_list)
    @api.model_create_multi
  • get_quotation_seq(self)
    @api.model
  • get_sale_order_seq(self)
  • is_using_quotation_number(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_quotation_number
VERSION
VERSION 2.1.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSmanu, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci, Mohamed Osman
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (1)
  • quotation_seq_used Boolean
    copy=False default=False readonly=True string='Quotation Sequence Used'
Public methods (5)
  • copy(self, default=None)
  • create(self, vals)
    @api.model
  • get_quotation_seq(self)
    @api.model
  • get_sale_order_seq(self)
  • is_using_quotation_number(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_quotation_number
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSNils Hamerlinck, OCA Transbot, Vishnu Vanneri, oca-travis, Weblate, OCA-git-bot, newtratip, Hai Lang, almumu, Simone Versienti
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • action_confirm(self)
  • copy(self, default=None)
  • create(self, vals)
    @api.model
  • is_using_quotation_number(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_quotation_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSPedro M. Baeza, manu, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_quotation_number Quotation number configuration res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_confirm(self)
  • copy(self, default=None)
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_quotation_number
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSRenato Lima, manu, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_config_quotation_number Quotation number configuration res.config.settings xpath Inherits base.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    readonly=False related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_confirm(self)
    @api.multi
  • copy(self, default=None)
    @api.multi
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/sale_quotation_number
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSDenis Roussel, OCA Transbot, oca-travis, OCA-git-bot, Murtuza Saleh
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
    - account_invoicing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_config_quotation_number Quotation number configuration res.config.settings xpath Inherits base.res_config_settings_view_form
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use Same Enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_confirm(self)
    @api.multi
  • copy(self, default=None)
    @api.multi
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_quotation_number
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Qubiq, Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSPedro M. Baeza, Denis Roussel, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, OCA-git-bot, Simone Rubino
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_sales_config_quotation_number Quotation number configuration sale.config.settings xpath Inherits sale.view_sales_config
Models touched (3)

New fields (1)
  • keep_name_so Boolean
    default=True help='If this is unchecked, quotations use a different sequence from sale orders' string='Use same enumeration'
Public methods (0)

No public methods.

New fields (1)
  • keep_name_so Boolean
    related='company_id.keep_name_so'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_confirm(self)
    @api.multi
  • copy(self, default=None)
    @api.multi
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_quotation_number
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.openerp.net.cn
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a sale quotation sequence.
===========================================

Defining.

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

Originally OpenERP manage only 1 sequence for this 2 documents, then the sales
order won and lost manage the same sequence losting almost all lost quotations
in terms of sequences, making so difficult understand qith a quick view if we
are good or bad in terms of logistic and sale process already confirmed.

Technical Explanation:

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

With Openerp Base.

Sale Quotation 1 Number = SO001
Sale Quotation 2 Number = SO002
Sale Quotation 3 Number = SO003
Sale Quotation 4 Number = SO004

Sale Quotation 2 Confirmed = Number for Sale Order SO004

With Openerp + This Module.


Sale Quotation 1 Number = SQ001
Sale Quotation 2 Number = SQ002
Sale Quotation 3 Number = SQ003
Sale Quotation 4 Number = SQ004

Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation
SQ002

Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation
SQ001

Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation
SQ004

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • action_wait(self)
    @api.multi
  • copy(self, default=None)
    @api.one
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_quotation_number
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Nicolas Bessi (nbessi), OCA Transbot, oca-travis, Weblate, Matjaž Mozetič, Franco Alberganti
WEBSITE
WEBSITEhttp://www.openerp.net.cn
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a sale quotation sequence.
===========================================

Defining.

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

Originally OpenERP manage only 1 sequence for this 2 documents, then the sales
order won and lost manage the same sequence losting almost all lost quotations
in terms of sequences, making so difficult understand qith a quick view if we
are good or bad in terms of logistic and sale process already confirmed.

Technical Explanation:

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

With Openerp Base.

Sale Quotation 1 Number = SO001
Sale Quotation 2 Number = SO002
Sale Quotation 3 Number = SO003
Sale Quotation 4 Number = SO004

Sale Quotation 2 Confirmed = Number for Sale Order SO004

With Openerp + This Module.


Sale Quotation 1 Number = SQ001
Sale Quotation 2 Number = SQ002
Sale Quotation 3 Number = SQ003
Sale Quotation 4 Number = SQ004

Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation
SQ002

Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation
SQ001

Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation
SQ004

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • action_wait(self)
    @api.multi
  • copy(self, default=None)
    @api.one
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/7.0/sale_quotation_number
VERSION
VERSION 1.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Elico Corp
COMMITTERS
COMMITTERSNhomar Hernandez, Lorenzo Battistini, Alexandre Fayolle, moylop260
WEBSITE
WEBSITEhttp://www.openerp.net.cn
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a sale quotation sequence.
===========================================

Defining.

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

Originally OpenERP manage only 1 sequence for this 2 documents, then the sales
order won and lost manage the same sequence losting almost all lost quotations
in terms of sequences, making so difficult understand qith a quick view if we
are good or bad in terms of logistic and sale process already confirmed.

Technical Explanation:

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

With Openerp Base.

Sale Quotation 1 Number = SO001
Sale Quotation 2 Number = SO002
Sale Quotation 3 Number = SO003
Sale Quotation 4 Number = SO004

Sale Quotation 2 Confirmed = Number for Sale Order SO004

With Openerp + This Module.


Sale Quotation 1 Number = SQ001
Sale Quotation 2 Number = SQ002
Sale Quotation 3 Number = SQ003
Sale Quotation 4 Number = SQ004

Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation
SQ002

Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation
SQ001

Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation
SQ004

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • action_wait(self, cr, uid, ids, context=None)
  • copy(self, cr, uid, id, default=None, context=None)
  • create(self, cr, uid, vals, context=None)