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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda


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?
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
0
Mei 19
|
3216 | ||
|
|
0
Sep 25
|
775 | ||
|
How to manage deliveries with our own fleet
Diselesaikan
|
|
4
Jul 25
|
3418 | |
|
|
0
Agu 24
|
1948 | ||
|
|
1
Jun 24
|
2949 |