diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-11-17 13:40:37 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-11-17 13:40:37 +0100 |
| commit | f18399f721592d2dd90641c7e9350e19839641d7 (patch) | |
| tree | ab7745a209c587821c1b14e5b2b177c15e2b077e /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | c9fce1a40441a559c8a36d4ca1d6b2deaf9cae1f (diff) | |
[FIX] purchase: invoice state of PO
If the invoicing policy of a PO is set to "Based on incoming shipments"
and the PO contains a product of type "service", it is never considered
as invoiced, and therefore reach the state "Done".
The reason is that no stock move is linked to this PO line, and
therefore it is never considered as invoiced since we check the invoice
state of the associated sotck moves.
This fix assumes that in this specific case, a PO line for a service is
always invoiced, since there is anyway no incoming shipment linked to
it.
opw-654317
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
