Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3297 Vistas

I have a scenario as follows:

Product A from Category 1 and Product B from Category 2.

If a customer buys 1 qty of each product, then he/she will get a 10% discount on the cheapest product. This scenario works fine if the customer buys these two products only in that order.

If he/she purchases another product which is not included in the promotion and less than the price of the above two in the same order, then the discount applies to the third product (because of the cheapest price).
How can I handle this situation?

Avatar
Descartar
Mejor respuesta

Hi Balagopal,

I would assume you use the option "Discount Apply On the cheapest product". This option will auto choose the cheapest product in the whole sales order and then apply the discount.

The best solution is to write some code to cover the edge case.

A manual workaround is to manually change the discount price to make it match the cheapest product in the special list.

Avatar
Descartar
Autor

yes, we are doing some customization to achieve that now. With the default options of Odoo, we can't manage the promotion for the above scenario.

Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 24
1250
1
jul 24
2917
0
ago 23
1667
1
mar 23
3939
0
ene 23
9