This question has been flagged

Hey,

I sell products and services on odoo v13.

When delivery slip is confirmed it changes sale order line state of product as deliverd and then invoice is created automaticly.

I want to automaticly set all services on sale order as "deliverd" when any other product from sale order is deliverd so invoice is created automaticly for them as well.

/For example:

sale order for:

-table (product)

-packing (service)

-delivery (service)

/When table is deliverd I want to have all services  as deliverd


Any ideas how to do it?

Thanks!

Avatar
Discard
Best Answer

Set the Invoicing Policy of the Service Products as Ordered Quantity on Product master. So when you are creating the Invoice, the service items will come automatically.

Avatar
Discard
Author

But then, when I confirm sale order, it changes its state as "to be invoiced".

I don't want to send invoice for service and then when product is deliverd, create another invoice.

I am looking for option that changes state on sale.order.line as deliverd when any other sale.orer.line is deliverd