Easy Import Export. Import by key field, like code, ref
6
-
Version
按第一列关键字段更新导入任意数据,有则更新、无则新建。Import & update any data by key field.
勾选 "Update Import with Key Field = First Column.",以导入文件第一列为唯一索引查找已有记录——有则更新、无则新建,彻底告别重复数据。
Check "Update Import with Key Field = First Column." to use the first column as the unique key: update existing records, create missing ones automatically.
本模块在 Odoo 原生导入基础上增强:以关键字段(如客户编码、产品条码、销售订单号)完成数据的更新式导入。查找已有记录时,除关键字段外,有默认值的字段与发起导入的 action domain 也一并作为搜索限制,确保在多公司、多类型数据环境下精确定位;导入文件含 id 列时自动走原生按 id 更新。整个过程逐行容错,错误行自动跳过、正确行照常导入。
This module enhances the native Odoo import with key-field based upsert: use the first column as the unique key to find existing records - update if found, create if not. Fields with default values and the action domain are also used as search constraints for precise matching in multi-company environments. When the file contains an id/.id column, the native id-based update is used automatically. Row-level fault tolerance skips error rows while valid rows keep importing.
按关键字段导入与更新 / Import & update any data by key field
关键字段更新导入,重复数据一去不返 / No more duplicate data with key-field upsert
First column as unique key, update if exists, create if not
勾选后以第一列为唯一索引查找已有记录,有则更新、无则新建,重复导入不再产生重复数据。
Match customers by ref / partner_ref
客户主数据按引用编码批量更新导入,保持与外部系统一致的客户标识。
Match products by code / barcode / default_code
产品资料按内部编码或条码批量更新,价格、分类等字段随文件同步刷新。
Default-value fields and action domain join the search
查找已有记录时叠加有默认值的字段与 action domain 条件,多公司/多类型环境下精确定位。
File with id/.id column falls back to native update
导入文件含 id/.id 列时自动走原生按 id 更新逻辑,兼容 Odoo 导出文件直接回导。
Skip error rows, keep importing valid rows
错误数据行自动跳过并记录,正确行继续导入,大批量数据导入不再因个别行中断。
Match many2one/many2many by ref, code, barcode
销售员、客户等关系字段可直接按 ref/code/barcode 子字段匹配,无需先查数据库 id。
Excel export always includes the id column
导出 Excel 自动包含 id 列,配合本模块可直接回导更新,导出导入形成闭环。
完整的多语言翻译支持,适配全球化企业部署。原生多公司架构,数据严格隔离。
支持 Odoo 19,18,17,16,15,14,13,12,EE/CE/.SH,兼容企业版、社区版及在线 SaaS。
基于 LGPL-3 协议开源,代码透明可审计,支持二次开发与定制。
按关键字段更新导入实操演示 / Live demo of key-field import
准备数据文件
Prepare Data File
映射字段列
Map Columns
勾选关键字段更新
Enable Key Update
测试并导入
Test & Import
准备好含关键字段列的数据文件 → 上传并映射字段 → 勾选 "Update Import with Key Field = First Column." → 测试无误后导入,已有记录自动更新、缺失记录自动新建。
专业Odoo服务伙伴-开发实施咨询培训全套解决方案 / Professional Odoo Solutions
| Version | 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0 |