Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5955 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง