This question has been flagged
1 Reply
3028 Views

All the adresses are stored in res partners. How can I identifiy which are contacts. I do have, for instance, customers that are companies or individuals. I may also have a hierarquical group of companies that are related.

Avatar
Discard
Best Answer

Export examples of each and look at the values of the fields in the CSV.

From what I can see:

is_company = True (This is a company record)

is_company = False (This is a contact record)

parent_id = NOT SET (This record stands alone)

parent_id = SET (The record is a subsidiary to the record with id = parent_id)

child_ids = SET (The record has contacts with id = child_ids)

Avatar
Discard