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

CRM, res_partner and fields

Subscribe

Get notified when there's activity on this post

This question has been flagged
crmcontacts
2 Replies
3034 Views
Avatar
Alec

I'm trying to understand how certain contacts should be configured and how CSV files should be set up to correctly import them in. Customers for starters; they are based on whether they have an invoice or if customer_rank is set to 1. That customer can be a company or an individual, easy enough. If its a company and that company has contact information you want to add into it, then we have fields like Related Company(parent_id) and company_name which is what it gives you in the customer helper template that you can download. There is also the field buyer_id, which I'm not sure if that gets populated after sales orders or if it should be set as the customer/company, customer/company/contact, or what. The field address_type has me wondering as well.

So, when to use parent_id and company_name, and how does buyer_id work?

0
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

The best way to understand the relationships is to create sample records and export them.

You can then see how each field is populated and related to other records. 

buyer_id is the Buyer who manages the Vendor just as user_id is the Salesperson who manages the Customer. The Partner model is used for Individuals and Companies that can be either Customers or Vendors or both. 

The ranking fields are managed by Odoo. If you import via a Customers Menu the customer ranking is set and if you import via a Vendors Menu the supplier ranking is set. 

0
Avatar
Discard
Ray Carnes (ray)

Activate Developer Mode and hover over the ? to see the technical name of each field and what model it relates to.

Alec
Author

Okay that makes sense. The buyer_id relates to the person that has made purchase orders so that will only show up under contacts that are vendors. I exported only individuals data and it appears i need to use parent_id. The only thing im wondering about is what customer ranks mean after rank 1. Thanks for the help.

Ray Carnes (ray)

Higher ranks are given when Customers have subsequent Invoices and Vendors have subsequent Bills. This affects the sort order for each when creating those documents. If you create more Bills for Cascade than you do for ACME then Cascade will appear before ACME in the drop-down. All Vendors appear alphabetically when you click Search More...

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
Multiple contacts on lead/opportunity & aggregate email chatter Solved
crm contacts
Avatar
Avatar
1
Sep 24
4378
Contact from website --> Opportunity Won in CRM → Company Contact in Contacts app
crm contacts
Avatar
Avatar
1
Aug 24
2389
Can a contact be a contact of multiple other contacts without being created x times? Solved
crm contacts
Avatar
Avatar
1
Aug 24
2803
Odoo CRM Contact XLX uploading doesnt work
crm contacts
Avatar
0
Aug 24
252
[Odoo 14] Show child of parent contact on CRM
crm contacts
Avatar
0
May 21
3989
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