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
1814 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Marc,

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
mar 24
2223
7
mar 16
7458
1
mar 16
2450
2
mar 15
2666
1
maj 24
3104