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

I’m confused by the behavior of the “Invoice Status” of the Sales Orders.

After invoicing, the sales orders usually get the invoice status “Nothing to Invoice”.  But sometimes they receive status “Fully Invoiced”. I cannot figure out the reason why this happens. There has to be a logical explanation however...

Business context is a service process with products defined as “services” and invoicing policy according to “Delivered quantities”. Track service is "Manually set quantities on order” except for one product/service with Track service as "Create a task and track hours"


Avatar
Descartar
Mejor respuesta

Compute the invoice status of a SO line. Possible statuses:

- Nothing to invoiceif the SO is not in status 'sale' or 'done', it's consider that there is nothing to invoice. This is also a default value if the conditions of other status is met.

- To Invoice: It's refer to the quantity to invoice of the line. Refer to method `_get_to_invoice_qty ()` for more information on how this is calculated.

- Upselling Opportunity :This is possible only for a product invoiced if delivered more than expected. The could arise if, for example, a project took more time than expected. This is only in the 'sale' state, so that when SO is set to done, the upselling opportunity is removed from the list.

- Fully Invoiced : The quantity invoiced is larger or equal to the quantity ordered.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
oct 22
6276
2
nov 22
3505
1
may 25
992
2
nov 24
2201
4
feb 24
12364