OdooWiki OCA HUB

Sale multi template application

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

This module allows multiple templates to be applied to the same sales order, keeping the existing order lines without deleting the previous ones.

For consistency, the template field is emptied for not keeping the order linked to a possible partial template.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you apply several quotation templates to the same sales order without losing the lines you already added. Each new template's lines are appended after the existing ones, and the template field is cleared afterwards.

When you pick a sales order template on a quotation or sales order, Odoo normally replaces the existing order lines with the template's lines. This module changes that behaviour so the lines already on the order are kept.

  • The lines coming from the newly selected template are added after the lines that were already there, so nothing is deleted.
  • The order of the lines is preserved: existing lines keep their position and the new template lines are placed at the end.
  • After the template is applied, the template field on the order is emptied. This avoids the order looking like it is still linked to one single template when it actually mixes lines from several.

It works on the standard sales order screen (sale.order) and only affects the template selection behaviour; no new menus, buttons or reports are added. The module depends on the standard Sales app (sale_management).

Depends on

sale_management
Models and fields (1)
  • sale.order · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Sales \> Configuration \> Quotation Templates.
  • Create at least two quotation templates and add some lines to each template.
  • Go to Sales \> Orders \> Quotations.
  • Create a new sales order.
  • Select the first quotation template.
  • Select the second quotation template, and the order lines from the first template are retained.

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.