Odoo Help

0

How to keep the invoice address when partner data changes?

By
Hans Albers
on 2/19/14, 1:22 PM 1,356 views

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?

0
Ray Carnes
On 2/19/14, 1:35 PM

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?

Hans Albers
on 2/20/14, 9:23 AM

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.

Bista Solutions US, Ray Carnes
on 2/20/14, 11:11 PM
0
a.schenkels
On 2/21/14, 2:52 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 2/19/14, 1:22 PM
Seen: 1356 times
Last updated: 3/16/15, 8:10 AM