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

You cannot archive a contact linked to an internal user

What does it mean "linked"? As far as I can see the customer contact I created is not linked to anyone. I even mnaged to delete all order history and even all fields.

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

In v12, there is a condition like

if partner.active and partner.user_ids:
    raise ValidationError(_('You cannot archive a contact linked to an internal user.'))

It means there is a user which is linked with one of the partner and you are trying to archive it.

You can check that partner/customer in "Related Partner" under the user form view.

Hope this will help you.

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

What is a related partner? Where can I see what the related partner to a customer is?

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

Before archiving User, you should make inactive the related partner of that user. Goto Contacts -> select the related partner of User -> Archive, Then do same for the User.

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