Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5931 Visualizzazioni

Following scenario:

We have a customer who may has several orders and invoice etc. Now he changes his address and we overwrite his data accordingly, which means the old address data is lost. Hence a user cannot find out the original address of the customers order etc. if he had to.

How do you avoid that?

Avatar
Abbandona
Risposta migliore

Don't change the Invoice address, just add another one.

If you are concerned about having someone accidentally use the old one, mark it inactive.

Avatar
Abbandona
Autore

Adding a new partner would hide the customer history and his credit. Adding a new contact would require always setting/creating an extra invoice contact, which is quite an effort. Otherwise you have to always leave the original data on the parent partner.

How about having a text field that saves the whole address when the invoice is confirmed?

I see it as the same effort as changing the address. You can of course have a text field that stores the entire address - but this may lead to unnecessary additional data from a database design perspective. You would need to customize both the data model and write a function that moves the address into the new field when the invoice is created and/or validated.

Risposta migliore

I would think it's even more important to save the complete invoice. You should enable the module document and after enabling this each invoice will be saved as pdf and will be re-used when printing the invoice. You know have an exact copy of the invoice, not only the address but everything on the invoice remains the same.

Regards, André Schenkels

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mar 24
1317
0
ago 25
12
0
ago 25
6
0
ago 25
105
1
ago 25
261