Sale Rental Order Swap Variant

Allow to change an important product from a kit

Technical Name:
sale_rental_order_swap_variant
License:
Author:
Numigi
https://kastor.lab.numigi.net/web/image/product.template/1324/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Sale Rental Order Swap Variant

This module allows to change an important component of a kit on a sale order.

Context

By default, when selling a kit, the important components of the kit can not be changed (the column product is readonly).

With this module, a button on the sale order allows to open a wizard. This wizard allows to select a different variant (related to the same product template).

Module Name

This module was first developed in the context of a rental sale order.

However, this module is completely unrelated to the concept of a rental. This was a conceptual error when initialy developing the module.

A kit can be sold in a normal sale order. The concept of an important component remains the same.

Configuration

  • I open a type Kit product. In the configuration of the Kit, I have a new option to
    "Change the Variant".
  • This option is only available for products which are important.
  • I check this option.
static/description/new_field.png

Use

  • I create a sale order with a kit product that contains a product for which
    Variant Change is enabled.
  • I confirm the SO. A new button appears next to Kit component's product.
    If I click on it, a wizard opens.
  • The wizard only allows me to choose another product variant of the same
    product template.
static/description/new_button_wizard.png
  • I confirm the change of Variant in the wizard.
  • The article has been changed on my SO line.
static/description/sol_product_change.png
  • If I go to the related pickings (delivery, reception), the article has also been
    changed.
static/description/delivery_product_change.png

Constraints:

  • Product Variant change is not possible if related goods movements have already been
    confirmed.
  • If, for example, my Variant Change product has been delivered and I try to change
    the variant, I get the following blocking error message:
static/description/blocking_error_msg.png

Allow Changing Product

Since version 1.2.0 of the module, it is possible to allow swapping an important component with a different product (instead of only swapping to a different variant).

static/description/kit_component_allow_change_product.png static/description/kit_component_allow_change_product_2.png

Contributors

More information