|
3.
|
|
|
When you use External IDs, you can import CSV files
with the "External ID" column to define the External
ID of each record you import. Then, you will be able
to make a reference to that record with columns like
"Field/External ID". The following two CSV files give
you an example for Products and their Categories.
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Cuando se usan identificadores externos, puede importar archivos CSV con la columna "Id. externo" para definir el id. externo de cada registro a importar. Entonces, podrá hacer referencia a ese registro con columnas del tipo "Id. de campo/externo". Los siguientes dos archivos son un ejemplo para los productos y sus categorías.
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:163
|
|
4.
|
|
|
How to export/import different tables from an SQL
application to OpenERP?
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
¿Cómo exportar/importar diversas tablas desde una aplicación SQL a OpenERP?
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:271
|
|
5.
|
|
|
Relation Fields
|
|
|
module: base_import
openerp-web
|
|
|
|
Campos relación
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/js/import.js:331
|
|
6.
|
|
|
Country/Database ID: the unique OpenERP ID for a
record, defined by the ID postgresql column
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
País/Id. de la BD: El id. único de OpenERP para un registro, definido por la columna ID de Postgresql
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:142
|
|
7.
|
|
|
Use
Country/Database ID: You should rarely use this
notation. It's mostly used by developers as it's main
advantage is to never have conflicts (you may have
several records with the same name, but they always
have a unique Database ID)
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Usar País/Id. de la BD: Raramente debería usar esta notación. Se usa más a menudo por los desarrolladores puesto que su principal ventaja es la de no tener nunca conflictos (puede que tenga varios registros con el mismo nombre, pero sólo tendrán un único id. de base de datos)
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:155
|
|
8.
|
|
|
For the country
Belgium, you can use one of these 3 ways to import:
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Para el país Bélgica, puede usar uno de estos tres métodos de importación:
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:146
|
|
9.
|
|
|
company_1,Bigees,True
|
|
|
module: base_import
openerp-web
|
|
|
|
company_1,Bigees,True
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:303
|
|
10.
|
|
|
base_import.tests.models.m2o
|
|
|
module: base_import
|
|
|
|
Relación many2one de los test de importación
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
model:ir.model,name:base_import.model_base_import_tests_models_m2o
|
|
11.
|
|
|
copy
(select 'company_'||id as "External ID",company_name
as "Name",'True' as "Is a Company" from companies) TO
'/tmp/company.csv' with CSV HEADER;
|
|
|
module: base_import
openerp-web
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
copiar (seleccione 'company_'||id como "Id. externo", company_name como "Nombre", 'True' como "Es una compañía" de companies) a '/tmp/company.csv' con la cabecera CSV;
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:297
|
|
12.
|
|
|
CSV file for Manufacturer, Retailer
|
|
|
module: base_import
openerp-web
|
|
|
|
Archivo CSV para fabricante, comerciante al por menor
|
|
Translated by
Pedro Manuel Baeza
|
|
|
|
Located in
code:addons/base_import/static/src/xml/import.xml:206
|