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 13 Odoo series since 7.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.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

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

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 1

XML IDNameModelTypeStatus
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

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

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…