Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5152 Vistas

The price on sale order is not working when I change the UOM.

I have the following configuration on sale:

Unit of measure: Some products may be sold/purchased in different units of measure (Advanced)

Sale Price: Advaced pricing based on formulas (discounts, margins, rounding)

Discount: Allow discounts on sale order lines

I have kg as the Reference UOM for weight and "10 kg" as:

Category: Weight

Type: Bigger...

Bigger ratio: 10.0

I have the following Product:

Sale price: 100

Unit of measure: kg

Purchase UOM: kg

My pricelist:

Discount policy: Show public price & discount to the customer

Items:

All products - 10% discount

My sale order with default UOM it's OK:

UOM: kg, Unit price:100, discount %:10, subtotal: 90

But my sale order when I change my UOM:

UOM: 10 kg, Unit price:90, discount %:0, subtotal: 90

There are two problems:

1) It doesn't change the unit price, it should be 100*10 (for UOM 10kg)

2) The discount gets included in the unit price, the unit price is 90 and should be 100*10 and the discount is 0 and should by 10.

Is there a configuration that I'm doing wrong or is it a bug??

Thanks

Avatar
Descartar
Autor Mejor respuesta

I change the sale order line, not the UoM on product 

Avatar
Descartar

"My sale order with default UOM it's OK:

UOM: kg, Unit price:100, discount %:10, subtotal: 90

But my sale order when I change my UOM:

UOM: 10 kg, Unit price:90, discount %:0, subtotal: 90"

Looks like you are trying to change UoM in Sale order, which is okay but don't expect Odoo to automatically change the price. That onchange is not working. You've got to be allowed to change pricing by way of changing price or giving out more quantity and not stick to pricing rigidly - is the principle being followed.

Autor

But if I don't use discounts, it works fine as I intended. I change UoM in the order line and it brings the price*10, so I think the principle works, just not with discounts.

Mejor respuesta

I guess you are changing the UoM on product. Sale price is per unit of measure(more specifically sales UoM)  and if you are changing the UoM on product it means you are changing the price say you were charging 100 for a 1kg before and now you are charging 100 for 10 kgs.

You should be changing number of units in the sale order.


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 16
3558
1
ene 24
6151
0
oct 22
3472
2
oct 19
4029
1
mar 18
3966