Skip to content

Commit 95d7dbf

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

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
@@ -299,5 +299,39 @@ impacts that can be taken advantage of throughout the Odoo database.
299299
.. note::
300300
Changes to the product template automatically apply to every variant of that product.
301301

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

0 commit comments

Comments
 (0)