Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1703 Vues

Hi,


Problem: Variant prices, we want fixed prices for each variant not depending on the product price (is put to zero)

Solution: Learned from the Youtube Channel "Odoo avec vous"

https://www.youtube.com/watch?v=-5j7SIriwZ0&t=607s




So to change the variant price we do an export out of the products (not the product variants) and in that way you can import the new prices at

attribute_line_ids/product_template_value_ids/price_extra


This is working fine as long as there is only one Attribute. When there is a second Attribute the export looks like this


Suppose the classic T-shirt is in size S, size M, and size L, and those 3 sizes are in 2 colors.

The export file looks like this

__export__.product_template_attribute_value_2034_24044888 Colors: white

__export__.product_template_attribute_value_2033_864d707b Colors; black

__export__.product_template_attribute_value_2025_f32b88aa Size: S

__export__.product_template_attribute_value_2026_3409561d Size: M

__export__.product_template_attribute_value_2027_f7ee323b Size: L


As we try to place a fixed price for each variant, this way of working is not possible anymore.

Do you know how to handle this problem?
Thanks in advance and greetings from Flanders/Belgium
Marc

Avatar
Ignorer
Meilleure réponse

Hi Marc,

I think you should use the price list of the Sales module to solve this problem.

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
mars 24
2088
7
mars 16
7368
1
mars 16
2450
2
mars 15
2571
1
mai 24
2961