Currency conversion doesn't work with new formulas of module product_price_list_formula


(Luis) #1

Greetings.

I have had difficulties in seeing how to solve the problem, the module product_price_list uses a formula with unit_price, the functions added by the new module allow to use new formulas such as: product.cost_price * 1.10.

But if you change the currency in a sale for example, the price conversion only works when you use unit_price formula. Is there any reason why it happens?


(C├ędric Krier) #2

This is the reason why product_price_list does not use instances of product.
If you want to use another variable for your formula, you must provided in the context converted to the proper currency.