Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
productimportcsvsupplier
2 Réponses
7028 Vues
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
Ignorer
Avatar
E.M.
Auteur Meilleure réponse

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
Ignorer
Avatar
TidyWay
Meilleure réponse

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

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

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Import product and supplier using CSV Résolu
product import csv supplier
Avatar
Avatar
Avatar
Avatar
Avatar
5
déc. 23
17919
How to CSV-import products (product.templates) with a relation to their respective main suppliers in Odoo V8? Résolu
v8 product import csv supplier
Avatar
Avatar
2
mars 15
10257
Importing products and suppliers Résolu
product import supplier
Avatar
Avatar
Avatar
Avatar
4
déc. 23
22619
error product import
product import csv
Avatar
Avatar
1
sept. 19
3709
Import suppliers with CSV do nothing - Validation OK
import csv supplier
Avatar
1
mars 15
5739
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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