You are on page 1of 1

draft

True purchase_confirm

confirmed
True

router
invoice_method==order has_stockable_product()

Subflow: invoice OSV: account.invoice

Subflow: picking OSV: stock.picking

draft x 1

draft

True invoice_proforma2

True button_confirm

proforma2
True invoice_open

True invoice_open

confirmed
True button_cancel

not test_assigned()

test_assigned()

open

not test_finished()

assigned x 1

allow_cancel() button_cancel

test_cancel()

not has_stockable_product()

True purchase_cancel

True invoice_cancel

test_paid()

test_done()

auto_picking and test_auto_picking()

True button_done

allow_cancel() button_cancel

test_cancel()

True purchase_cancel

True invoice_cancel

paid
True test_paid() open_test

move

cancel
True subflow.cancel

True invoice_cancel

invoice_method<>order

test_finished()

re-open
True invoice_cancel

done
True subflow.done

except_picking
True picking_ok

cancel
True subflow.cancel

picking_done
True purchase_cancel

True subflow.paid

except_invoice
True invoice_ok True purchase_cancel

invoice_done
True

True

cancel

invoice_end
True

done

Workflow: Purchase Order Basic Workflow OSV: purchase.order

You might also like