Odoo Help


This community 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.


Create customers programmaticaly from a xls file - customer table name in DB

on 9/28/14, 6:42 AM 1,577 views

I want to import my customers xls list to openERP programmaticaly, what is the table's name of the "customer table" ?

Is this concidered as good practice ? There is no way of importing a customer file ?

Mohamed Essakali
On 9/28/14, 10:44 AM

The customer table is named res_partner with field customer=True, but this isn't a best practice. The best one is to do it using import option whitch is available on each tree view. Attention you must enable this option in Settings->Configuration->General Settings and enable the option  Import / Export.

You can then save your Xls fie as csv, test import to be sure everything is ok and then import it. 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 9/28/14, 6:42 AM
Seen: 1577 times
Last updated: 5/22/16, 9:38 AM