Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1712 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 22
3434
0
dic 23
1673
0
ago 21
3725
0
giu 21
3300
1
ott 25
2163