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

Hi there,


when i make a sales order i already have to input the cost for the delivery and the weigtht! But in my use case i charge for each parcel i send and weigh each parcel at the picking station.


How can Odoo now automatically input the cost and total weight of the delivery so it is correct on the invoice?


e.g. i send 2 parcel each cost 8 € and weigh 10kg and 2kg

total cost = 16

total weight = 12kg


thank you for the help

Avatar
Descartar
Autor

cool! Thank you for your help! :-)

Mejor respuesta

Hi,


You want the delivery cost and weight on your sales orders and invoices to reflect the actual parcels shipped, rather than pre-entered values. In Odoo, this can be handled by using a delivery product as a service item and updating its cost and weight based on the picking stage. You can sum up all parcel weights and costs during picking and update the sales order or invoice accordingly.


For automation, you can add fields on the Stock Picking model to store total_weight and delivery_cost. Using a server action or automated action, these totals can be written back to the sales order’s delivery line after the picking is validated, ensuring the invoice reflects the real shipping costs.


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 25
1139
3
ene 25
1580
1
abr 22
2652
3
mar 18
3720
0
feb 16
3892