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

I accidently created a company in the setting/companies section of Odoo. I have been trying to remove the company and get various error messages but the most consistent one i see is: 

"The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Picking Type (stock.picking.type), Constraint: stock_picking_type_company_id_fkey"

I have deleted all warehouses, locations, company specific routes/rules and do not know what else to delete before being able to delete the company.

I am not a coder, just an administrator, so I do not know how to do it in the editor or on the repository.

Can anyone help explain how i can access this table or just delete the company through the editor?

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

Hello

Go to operation type menu.

And delete the operation type of the company that you have created accidently.


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

what? Be specific please. I have the same error when trying to delete a company in Odoo 15

Never mind. I figured it out. I had to delete a bunch of auto-created entries in the "Inventory" module under `Configuration > Warehouse Management > Rules`, `Configuration > Warehouse Management > Operations Types` and `Configuration > Warehouse Management > Warehouses`. Had to delete Archived entries too...Finally deleted the freaking company.

Bài viết liên quan Trả lời Lượt xem Hoạt động
Delete Blank Lines Đã xử lý
1
thg 8 24
1797
Delete my account Đã xử lý
3
thg 11 24
10610
1
thg 6 21
2905
1
thg 2 19
5395
3
thg 1 24
15126