Sale Quotation Numeration
sale_quotation_number · OCA/sale-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 13 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_quotation_number |
Quotation number configuration | res.config.settings | form | Inherits sale.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
keep_name_soBooleandefault=Truehelp='If this is unchecked, quotations use a different sequence from sale orders'string='Use Same Enumeration'
No public methods.
-
keep_name_soBooleanreadonly=Falserelated='company_id.keep_name_so'
No public methods.
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
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…