@@ -300,5 +300,34 @@ 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 jackets with a variety of customization options: size, color, and
318+ material. They sell standard leather jackets and limited edition leather jackets as two different
319+ products. The standard leather jackets are a best-selling item, but the limited edition jackets
320+ have not sold yet. Due to rising costs, the business makes the decision to stop offering
321+ different materials and removes the corresponding attribute from the product variants.
322+
323+ Because the limited edition jackets have not been used in any sales orders, all variants that
324+ include the material attribute are deleted and the variants are automatically recreated without
325+ the attribute. Additionally, any customizations will be lost when the variants are deleted.
326+
327+ Since the standard leather jackets have been used in sales orders, the variants with the material
328+ attribute are archived instead and can be found by navigating to :menuselection: `Sales app -->
329+ Products --> Product Variants `, clicking the drop-down in the search bar, and finally clicking
330+ the :guilabel: `Archived filter `.
331+
303332.. seealso ::
304333 :doc: `import `
0 commit comments