It appears that for services the delivery status does not get updated. I am guessing that it is updated from the shipper but there is no shipper for services., We just mark the SO as delivered. On the Open SO report (all SO's not cancelled and not fully delivered) every one of the service SO's stay on it. Is there some way to manually change this field or have it update directly ffrom the SO and not a shipper?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta


Services that have their Invoicing Policy defined as Based on Delivered Quantity (Manual) can be manually delivered by updating the Delivered field on the Sales Order Line.

Ray, this is what we have been doing. Example posted below
Hi,
The delivery status in Odoo is typically tied to the delivery orders (shipping) generated for shippable products. Since services don't involve physical shipments.
Refer to the code:
from odoo import models
class SaleOrder(models.Model):
_inherit = 'sale.order'
def _compute_delivery_status(self):
super()._compute_delivery_status()
for order in self:
# If order ONLY contains services → mark as delivered
if all(line.product_id.type == 'service' for line in order.order_line):
order.delivery_status = 'delivered'
Hope it helps.
Is there another field that tells me wither an SO is open or closed?
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
0
may 19
|
3216 | ||
|
|
0
sept 25
|
773 | ||
|
|
4
jul 25
|
3417 | ||
|
|
0
ago 24
|
1947 | ||
|
|
1
jun 24
|
2949 |