Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Phone field doesn't populate on csv import

Subscribe

Get notified when there's activity on this post

This question has been flagged
fieldsimportimportingnotphone
4 Replies
9836 Views
Avatar
Chip

I have a csv file I'm trying to bring over from vtiger but the phone field is not populating with the imported data. To narrow things down I have only 2 fields I'm importing, company name & the phone.

Under settings, company, import: the CSV file header lists "Account name" which is mapped to "Company Name" & "Phone" which is mapped to "Phone". Validate reports everything seems fine. When I run the import the Company names are added but the phone field is blank. How do I get the phone field to show the phone number?

Thank you

0
Avatar
Discard
Avatar
kaynis
Best Answer

Try and use "address_phone" when importing the phone number rather than phone. Will advise delete the already imported once before trying again if you don't want duplication of company names or export the names to get the ids and import the phone numbers by added them on the exported sheet. This will make sure name are not duplicated and the numbers are added to the right names as well

0
Avatar
Discard
Chip
Author

Thank you for your reply. Under Settings, Companies, Import "address_phone" does not exist. When I type "Phone" into the search mapped field I get "Normal Fields: Phone", "Relation Fields: Child Companies /Child Companies / Phone, Child Companies / Phone". If I type address into the search field it gives "No mtaches found".

kaynis

If you are talking about importing the phone number for a client/partner, the column header or name should be address_phone you can verify by adding a client to the database with the phone number and export this client to see the right header you require for phone number.

Chip
Author

Yes I am adding a client/partner. v7 calls it "Companies". I created a dummy company with phone & Fax fields filled in. When export the feature automatically highlights "Company Name", "Paper Format", "Partner" etc but not "phone", "fax", and some other fields which are filled in when I set up the company. I've manually choosen Company Name, Phone, Fax and email to export. The export created this header with the correct info populated under it. "id", "name", "phone", "fax", "email". I then deleted the dummy company in openerp and tried importing but recieved "you must configure at ...

Chip
Author

Here's a copy and paste of the exported file. There was an "ID" column which I removed.


name,phone,fax,email
Dummy co,555-555-5555,444-444-4444,email@dummyco.com


When I run the import I get a "You must configure at least one field to import" even though each field is populated (name=Company name, phone=Phone, fax=Fax, email=Email)

Avatar
Chip
Author Best Answer

Thank you for your reply. Under Settings, Companies, Import "address_phone" does not exist. When I type "Phone" into the search mapped field I get "Normal Fields: Phone", "Relation Fields: Child Companies /Child Companies / Phone, Child Companies / Phone". If I type address into the search field it gives "No mtaches found".

0
Avatar
Discard
Avatar
AJ Schrafel Paper Corp
Best Answer

The following CSV header works for me.

 name, phone, fax, street, street2, city, state, zip, website, customer, is_company

Put a few items below this and see if it works. Customer and is_company should be true, unless the item is a contact, in which case is_company should be false.

When you import the items you will see a drop down menu at the header on top of your data, make sure that the column openerp auto detects is the correct column to bring the data into.

0
Avatar
Discard
Chip
Author

Changed the header to your recommendation. I have two rows I'm trying to import as a test. All the fields auto populate with "Don't Import" and would not detect the correct field (except state which detected field as "bank" - I switched it to "Fed. state" from the drop down. The rest I manually changed to match the header. Did not import the phone number. Tried import under "Sales" module, Customers, import and those fields were available (note: is_company is listed as "Is a Company" - if any one else is trying to solve the same problem) however on "Validate" it remported "You must configure at least one field to import" yet all the fields are assigned from the drop down

AJ Schrafel Paper Corp

do you phone numbers have anything other than digits and - or ( in them? try getting rid of a leading + if it is in there.

Chip
Author

the number in the field is 555-555-5555. Even tried 555555 and xxxxxx to no avail

Avatar
Chip
Author Best Answer

GREAT NEWS!!!! Got it to work. Here's what I did. I removed the header from the csv file (for those who are new to csv, that's the first line which holds the description of each field). Then on import I removed the check box "The first row of the file contains the label of the column" Then the import worked. Maybe a bug with the import? Not sure why it won't work with the header even when I manualy assign the field to import but I'm happy it's working! Big thanks to Patently and Kaynis for their help.

0
Avatar
Discard
Ray Carnes

Can you post the header of your file? There must be something in there that is 'invalid'.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Matching fields with csv import
fields import field csv importing
Avatar
Avatar
Avatar
2
Mar 15
8917
Errors when importing the import-compatible-export Solved
import importing
Avatar
Avatar
1
Nov 25
2719
Phone Number in 'XXX-XXX-XXXX' format Solved
fields phone
Avatar
Avatar
Avatar
Avatar
Avatar
5
Jan 22
685086
import in vcard format
import importing
Avatar
Avatar
Avatar
4
Nov 18
9021
Can I schedule importing from remote CSV over HTTP?
import importing
Avatar
0
Mar 15
5081
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now