Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6398 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

All the step that i make manually. Thanks

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
5277
1
lip 17
4647
0
wrz 23
1521
0
wrz 22
1502
0
lut 21
2643