Skip to content

Commit 596b012

Browse files
[IMP] Sales: adding/deleting variants clarification
1 parent 87b3244 commit 596b012

File tree

1 file changed

+25
-12
lines changed
  • content/applications/sales/sales/products_prices/products

1 file changed

+25
-12
lines changed

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

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ once an attribute is added to a product.
9292
order for the :guilabel:`Multi-checkbox (option)` to work properly as the :guilabel:`Display
9393
Type`.
9494

95-
- :guilabel:`Instantly`: creates all possible variants as soon as attributes and values are added
96-
to a product template.
95+
- :guilabel:`Instantly`: creates all possible variants as soon as attributes and values are added to
96+
a product template.
9797
- :guilabel:`Dynamically`: creates variants **only** when corresponding attributes and values are
9898
added to a sales order.
9999
- :guilabel:`Never (option)`: never automatically creates variants.
@@ -162,23 +162,23 @@ color selector pop-up window.
162162
.. image:: variants/picking-a-color.png
163163
:alt: Selecting a color from the HTML color pop-up window that appears on attribute form.
164164

165-
In this pop-up window, select a specific color by dragging the color slider to a particular hue,
166-
and clicking on the color portion directly on the color gradient window.
165+
In this pop-up window, select a specific color by dragging the color slider to a particular hue, and
166+
clicking on the color portion directly on the color gradient window.
167167

168168
Or, choose a specific color by clicking the *dropper* icon, and selecting a desired color that's
169169
currently clickable on the screen.
170170

171-
If you sell products with specific patterns, you can also add an image to display the
172-
pattern of the product. To do so, click the :icon:`fa-camera` :guilabel:`(camera)` icon,
173-
then click the :icon:`fa-pencil` :guilabel:`(pencil)` icon and select an image from your local
174-
drive. This pattern will appear as a color option on the ecommerce product page.
171+
If you sell products with specific patterns, you can also add an image to display the pattern of the
172+
product. To do so, click the :icon:`fa-camera` :guilabel:`(camera)` icon, then click the
173+
:icon:`fa-pencil` :guilabel:`(pencil)` icon and select an image from your local drive. This pattern
174+
will appear as a color option on the ecommerce product page.
175175

176176
.. image:: variants/ecommerce-pattern-option.png
177177
:alt: Pattern as color option on the ecommerce page.
178178

179179
.. tip::
180-
Attributes can also be created directly from the product template by adding a new line and
181-
typing the name into the :guilabel:`Variants` tab.
180+
Attributes can also be created directly from the product template by adding a new line and typing
181+
the name into the :guilabel:`Variants` tab.
182182

183183
Once an attribute is added to a product, that product is listed and accessible, via the attribute's
184184
:guilabel:`Related Products` smart button. That button lists every product in the database currently
@@ -283,8 +283,8 @@ impacts that can be taken advantage of throughout the Odoo database.
283283

284284
- :guilabel:`Barcode`: barcodes are associated with each variant, instead of the product template.
285285
Each individual variant can have its own unique barcode/SKU.
286-
- :guilabel:`Price`: every product variant has its own public price, which is the sum of the
287-
product template price *and* any extra charges for particular attributes.
286+
- :guilabel:`Price`: every product variant has its own public price, which is the sum of the product
287+
template price *and* any extra charges for particular attributes.
288288

289289
.. example::
290290
A red shirt's sales price is $23 -- because the shirt's template price is $20, plus an additional
@@ -299,5 +299,18 @@ 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+
302315
.. seealso::
303316
:doc:`import`

0 commit comments

Comments
 (0)