Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
216 Widoki

Am I doing something incorrectly?

In Odoo 18, I’m importing a product with variants (e.g., T-Shirt with different Sizes and Colours) and want each variant to have a unique sales price, as we do in Odoo 14.

Eg,

Size 5, Red, Sale price $47

Size 6, Blue, Sale price $55

Size 6, Red, Sale price $57


However, in Odoo 18, cost prices (standard_price) import fine, but sales prices for each variant don’t update when I try setting list_price for variants. All variants have the sales price of $47 (sales value in the first row).


Is setting the Variant Price Extra by configuring variants manually or pricelist the only ways to set different sales prices for variants in default Odoo 18?  That we can't set different sale price for each variants during import anymore?


Thanks!

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Refer to the following blog.


- https://www.cybrosys.com/blog/how-to-import-product-attributes-and-product-variants-in-odoo-17



- https://www.cybrosys.com/blog/how-to-import-master-data-in-odoo-18-for-trading-businesses


-https://www.odoo.com/sl_SI/forum/pomoc-1/inventoryodoo18-how-can-i-import-product-variants-in-odoo-18-version-18-269619


Hope it helps

Awatar
Odrzuć
Autor

Thank you, and I just did an AI summary of the links you posted, if i'm not mistaken, there's no way to do it vai simple import.

In Odoo 18, we can’t set different sales prices for product variants (like T-Shirts in various Sizes and Colours) by importing a single price field for each variant, as we tried in Odoo 14, because the main price is set at the product level and doesn’t apply to individual variants. Also, the Price Extra field, which adds extra costs for specific attributes (like $5 more for a Large size), seems to be auto-calculated in our system and can’t be changed directly through imports or manual edits. The Cybrosys guides on importing variants don’t mention how to handle different sales prices or adjust Price Extra, so it’s likely not a standard option in Odoo 18. The only built-in way to do this is by using pricelists, where we can import a specific price for each variant (e.g., $22 for a Small T-Shirt) through the Sales module’s pricelist import feature, which overrides the main product price. Without adding custom software, pricelists are our best option for setting unique variant prices in Odoo 18.

You are correct, if you hover over the Sales Price field you will see the Help tip "The sale price is managed from the product template. Click on the 'Configure Variants' button to set the extra attribute prices".

So if your prices are not simple additions to the base, then you can import a pricelist instead.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
298
3
lip 25
1463
1
lip 25
227
2
mar 24
2156
2
paź 23
3434