跳至内容
菜单
此问题已终结
1 回复
6472 查看

Hello all,

After all this time of using Odoo 8, did you find a way to delete a posted pos order in the user interface, without to use a database client?

I always get this error :

    Unable to Delete!

    In order to delete a sale, it must be new or cancelled.


So, I have to put all pos.order lines in 'draft' state directly in the database to delete each of them. This is the only way I have found to delete them.

I really want to delete entries and not refund or reverse them.

What is your best way to do it?

THanks all

形象
丢弃
最佳答案

Hello Pascal,

To delete the POS orders and related accounting and stock entries, you need to develop a custom module.

The module should search the records based on some condition (wizard), then module should cancel / delete /reverse the stock and accounting entries first. After that you can cancel the order and then delete it.

形象
丢弃
编写者

All the step that i make manually. Thanks

相关帖文 回复 查看 活动
0
3月 15
5314
1
7月 17
4709
0
9月 23
1566
0
9月 22
1538
0
2月 21
2676