This question has been flagged

Hi

I need to change the sales detail lines because my products have variants with attributes:

Product: T-Shirt Basic

     Size:  S

                M

                L

                XL


I need you to look at the sales detail in sales order form as follows:

                                         

ProductSize SSize MSize LSize XLQuantity
Price
T-Shirt Basic
0
2
5
10
17
90.00







Thanks for your help.



Joel Olmedo

Avatar
Discard
Best Answer

I think that it's best to use it as Odoo offers. One line for every product variant(product.product) because what you sell in sale orders are product variants not product templates. That will allow you to properly apply all the sale details for every line of the sale order: discounts, taxes, product variants different prices and pricelist price computation.

So you will end with something like this:

ProductQTYDiscountTaxPrice Unit
Subtotal
T-Shirt Basic - Size M2
0

5.2910.58
T-Shirt Basic - Size L5
0

5.2926.45
T-Shirt Basic - Size XL10
0

5.2952.94

This is the normal behavior in Odoo Sale Orders

Avatar
Discard