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

What should be used in "seller_ids" field to specify a given supplier while importing products? Is it possible to use the "external id"?

Subscribe

Get notified when there's activity on this post

This question has been flagged
productimportcsvsupplier
2 Replies
7013 Views
Avatar
E.M.

I would like to import products and assign a given supplier. Is that possible via CSV?

I have seen that the right field seems to be "seller_ids", but I do not know which value should be used in that field.

I have tried:

- the  database Id of the partner ("id" in "res_partner") and

- the external Id ("id" in "ir_model_data") and

- the external name ("name" in "ir_model_data")

without success.


Ideally I would like to use the "name" in "ir_model_data", not sure if that is possible or not.


This is the partner I am trying to use:


select * from res_partner where id=16;

id | name | company_id | comment | ean13 | create_date | color | image_small | image | date | street | city | display_name | zip | title | function | country_id | parent_id | supplier | ref | email | is_company | website | customer | fax | street2 | employee | credit_limit | write_date | active | tz | write_uid | lang | create_uid | image_medium | phone | mobile | type | use_parent_address | user_id | birthdate | vat | state_id | commercial_partner_id | notify_email | message_last_post | opt_out | signup_type | signup_expiration | signup_token | last_reconciliation_date | vat_subjected | debit_limit | section_id | zip_id | comercial

----+--------------------------------------------------+------------+---------+-------+----------------------------+-------+-------------+-------+------+---------------------------------------------------------------+----------+--------------------------------------------------+--------+-------+----------+------------+-----------+----------+-----+-------+------------+---------+----------+-----------------+---------+----------+--------------+----------------------------+--------+---------------+-----------+-------+------------+--------------+------------------+--------+---------+--------------------+---------+-----------+-----+----------+-----------------------+--------------+-------------------+---------+-------------+-------------------+--------------+--------------------------+---------------+-------------+------------+--------+-----------

16 | Shenzhen Goldkey Machinery & Equipment Co., Ltd. | 1 | | | 2015-05-31 07:48:07.053157 | 0 | | | | Shasan Shangxiawei 2nd Industry Park, Shajin, Bao'an District | Shenzhen | Shenzhen Goldkey Machinery & Equipment Co., Ltd. | 518125 | | | | | t | | | t | | f | 86-755-23016793 | | f | | 2015-05-31 07:50:41.200248 | t | Europe/Madrid | 1 | es_ES | 1 | | 86-755-23016793 | | contact | f | | | | | 16 | always | | f | | | | | t | | | |

 


select * from ir_model_data where res_id=16 and model='res.partner';

id | create_uid | create_date | write_date | write_uid | noupdate | name | date_init | date_update | module | model | res_id

-------+------------+----------------------------+----------------------------+-----------+----------+----------------------------+---------------------+---------------------+--------+-------------+--------

49308 | 1 | 2015-05-31 07:48:07.053157 | 2015-05-31 07:50:41.200248 | 1 | f | shenzhen_goldkey_machinery | 2015-05-31 07:48:07 | 2015-05-31 07:50:41 | | res.partner | 16

 

0
Avatar
Discard
Avatar
E.M.
Author Best Answer

Tidy Way answer helps a lot, but "Supplier/Supplier/Id. Externo" is what I have to choose from combo to use the External Id name. Now I understand a bit better how import works.

I am wondering how could I see which exact keywords should be used as CSV titles: Odoo displays localized names in the combo, so with my locale (es_ES) "Supplier/name" is converted into "Supplier/Supplier" and I can easily identify that what I want is "Supplier/Supplier/Id. Externo" but I do not know how can I get the CSV keyword for that "Supplier/Supplier/Id. Externo". 


0
Avatar
Discard
Avatar
TidyWay
Best Answer

You can use "Supplier/name" to import supplier with product.

Hope this help you, for more info contact@tidyway.in 

0
Avatar
Discard
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
Import product and supplier using CSV Solved
product import csv supplier
Avatar
Avatar
Avatar
Avatar
Avatar
5
Dec 23
17912
How to CSV-import products (product.templates) with a relation to their respective main suppliers in Odoo V8? Solved
v8 product import csv supplier
Avatar
Avatar
2
Mar 15
10246
Importing products and suppliers Solved
product import supplier
Avatar
Avatar
Avatar
Avatar
4
Dec 23
22598
error product import
product import csv
Avatar
Avatar
1
Sep 19
3699
Import suppliers with CSV do nothing - Validation OK
import csv supplier
Avatar
1
Mar 15
5727
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