Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1653 Vizualizări

Hi there,

One of our customers have an employee that no longer works with the company.

We want to archive the contact but every time we do, the related Sales Orders are also hidden.

Is there any way to prevent this?

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,


Actually the problem that you have faced was no more longer in the updated versions of Odoo. Instead of archiving the contact, you can create a custom field to mark the contact as inactive. This way, the contact remains in the system, but you can filter or flag it as needed.


1. Create a custom field 'x_is_inactive' in the customer template.

2. For the contact that is no longer active, set this field to True.

3. Update your views and filters to exclude contacts where 'x_is_inactive' is True.


Thanks.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 22
3349
0
dec. 23
1641
0
aug. 21
3677
0
iun. 21
3275
3
sept. 25
2943