Skip to content

Commit ef914ef

Browse files
[IMP] Sales: adding/deleting variants clarification
closes #15351 Signed-off-by: Thomas Jude Cavazos (thjud) <thjud@odoo.com> Co-authored-by: Felicia Kuan <feku@odoo.com>
1 parent 1ec08c7 commit ef914ef

File tree

1 file changed

+34
-0
lines changed
  • content/applications/sales/sales/products_prices/products

1 file changed

+34
-0
lines changed

content/applications/sales/sales/products_prices/products/variants.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,5 +300,39 @@ impacts that can be taken advantage of throughout the Odoo database.
300300
.. note::
301301
Changes to the product template automatically apply to every variant of that product.
302302

303+
Adding and deleting attributes from product variants
304+
====================================================
305+
306+
When attributes are added or deleted from products, variants that have already been created are
307+
affected. Depending on whether or not these variants have been used in orders, they are archived or
308+
deleted and recreated.
309+
310+
- Variants that have not been used in an order are deleted and recreated with the new attributes.
311+
This may result in the deletion of additional customizations, depending on how the variants were
312+
configured.
313+
- Variants that have been previously used in one or more orders are archived and removed from the
314+
product catalog instead of being deleted.
315+
316+
.. example::
317+
A business offers leather motorcycle jackets with the following attributes and values for a total
318+
of 27 product variants:
319+
320+
- Size: Small, Medium, Large
321+
- Color: Black, Brown, Natural
322+
- Material: Leather, Vegan Leather, Premium Leather
323+
324+
Due to rising costs, the business makes the decision to stop offering different leathers and
325+
removes the "Material" attribute from the product form. This has the following effects:
326+
327+
- Any leather jacket variants that have been sold will be archived
328+
- Any leather jacket variants that have not been sold will be deleted
329+
- A new set of variants using just Size and Color attributes will be created, for a total of 9
330+
product variants
331+
332+
The business owner can find archived product variants by navigating to :menuselection:`Sales app
333+
--> Products --> Product Variants`, clicking the drop-down in the search bar, and finally
334+
clicking the :guilabel:`Archived filter`. Any deleted variants and their customizations will be
335+
lost.
336+
303337
.. seealso::
304338
:doc:`import`

0 commit comments

Comments
 (0)