Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
221 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
301
3
thg 7 25
1467
1
thg 7 25
230
2
thg 3 24
2158
2
thg 10 23
3437