Skip to Content
Menu
This question has been flagged
2 Replies
3226 Views

I have created PO0002, But i can't get rid of it. Can't cancel, can't delete.

Avatar
Discard
Best Answer

Hi LEE TING RUI,

you must cancel the picking releated to this PO0002 before to be able to cancel it.

Good work.

Avatar
Discard
Best Answer

We noticed similar issue on our production server. This is due to broken workflow. If you know erppeek then use following commands on your terminal

<pre>

$erppeek --server https://odooserver.com -d production

$purchase = model('purchase.order')

$purchase.wkf_action_cancel([record_id])

</pre>

Avatar
Discard