Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
11353 Lượt xem

I'm searching for how to delete sessions of POS in Odoo 16. I'm the only user in the company and have admin rights, but stil I can't delete the POS entries

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Odoo protects you from yourself by not allowing you to delete them (due to linked sales etc.)

If you are certain you want to remove them, you can do the following: 

  1. Activate developer mode (documentation here)
  2. On the top right, a debug button will be visible now. Click on it, followed by "Become superuser"
    You will notice your user changes to OdooBot. 
  3. You can now delete the session.
  4. Log out and log back in to get back to your normal user.

With great power comes great responsibility. Use the superuser with caution

Ảnh đại diện
Huỷ bỏ

@Christoph Ronken, I have tried this version 17, this solution is not working for me, your assistance in this issue is highly appreciated. Thanks in advance.

Câu trả lời hay nhất

I have the same issue. 

I want to delete a session to start with a clean session but without success. I cant delete the POS order session. 

Constraint: pos_order_session_id_fkey

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Doesn't seem to work in v14 Christoph, any idea how to do it there? I just wanted to test the app but now I wan't to delete the records so I can begin with a fresh clean start.

Or should I upgrade to v16 and then I'll be able to do so ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 25
1349
1
thg 8 24
2136
1
thg 9 23
3661
0
thg 8 23
1749
1
thg 9 22
2124