In version 6.1, a customer was linked to 1 or many addresses.
Since version 7.0, there is no longer addresses, so my question is: how do I link different addresses (optionally with a type 'default', 'delivery', ...) to an individual customer (not a company)?
Basic use case: Mr X usually uses his home address for invoicing but prefer to be delivered at his work address (or relay point, ...).
Mr X is not a company. How do I link the different addresses to Mr X?
I can flag the customer as is_company
so I'm able to link contacts on my customer, but the is_company
is semantically inappropriate and I wonder if using it in this manner couldn't have side-effects (addons using the is_company
flag to apply some logic for companies only for instance...).
So, what is the correct way to handle that?
It might be easiest indeed to create him as a company, although he is an individual and I would set the company as the invoice address and the contacts could be several shipping addresses. That way when you check the option in Settings > Sales, the invoice address will already be set correctly.
I had a similar problem (recording pultiple addresses for a person) and ended up writing a module to distinguish the types and hierarchy in the UI. (Allowing me to add addresses to contacts that aren't companies.) AFAIK, the sales modules can handle this even though the built-in partner editing UI does not.
I reported a bug on that issue and it has been confirmed by OpenERP S.A. https://bugs.launchpad.net/openobject-server/+bug/1151947
Any solution for this? I need the same. We have a online shop and our customers often want that we deliver to their work address...