تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5744 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
الكاتب

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.

أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 24
1230
0
أغسطس 25
1
0
أغسطس 25
28
0
أغسطس 25
87
3
أغسطس 25
150