I have created PO0002, But i can't get rid of it. Can't cancel, can't delete.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
3600
查看
Hi LEE TING RUI,
you must cancel the picking releated to this PO0002 before to be able to cancel it.
Good work.
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>