Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sale Management
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 09:06:23
Authors
Camptocamp, Akretion, Odoo Community Association (OCA), Agile Business Group, Serpent Consulting Services Pvt. Ltd., Ecosoft, Dreambits
Maintainers
Camptocamp, Akretion, Odoo Community Association (OCA), Agile Business Group, Serpent Consulting Services Pvt. Ltd., Ecosoft, Dreambits
Committers
Weblate, OCA-git-bot, oca-ci, Paula Marfull
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
On cancelled orders, you can click on the "New copy of Quotation"
button. This will create a new revision of the quotation, with the same
base number and a '-revno' suffix appended. A message is added in the
chatter saying that a new revision was created.

In the form view, a new tab is added that lists the previous revisions,
with the date they were made obsolete and the user who performed the
action.

The old revisions of a sale order are flagged as inactive, so they don't
clutter up searches.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_order_form sale.order.form sale.order form Inherits sale.view_order_form
view_sales_order_filter sale.order.list.select sale.order list Inherits sale.view_sales_order_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • current_revision_id Many2one → sale.order
    comodel_name='sale.order'
  • old_revision_ids One2many → sale.order
    comodel_name='sale.order' inverse_name='current_revision_id'
Public methods (2)
  • action_back_to_current(self)
  • action_view_revisions(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…