Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Create new values on csv upload when there is no matching value no longer works after upgrade to v17

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
importingbugv17
1 Trả lời
3739 Lượt xem
Ảnh đại diện
Colin Worf

I believe this is a bug because it used to work fine on v16. but maybe im doing something wrong

My specific situation is, uploading a file into the product import form I have a few items which contain new attribute values. the attribute and values fields I am trying to use here are  ' Product Attributes / Attribute' and 'Product Attributes / Values'

I click test, and as expected a red box appears allowing me to choose what should happen when a value cannot be matched. I select "Create new values"

then upon import, I receive the same blocking error, even though create new values is already selected. in order to move forward I have to go add the attribute values into the color attribute.

Am I using the wrong field(s) for this functionality? 

2
Ảnh đại diện
Huỷ bỏ
Colin Worf
Tác giả

Ive since discovered more information about this issue, here's a full report:

Environment:

Odoo version: 17
Clean Install no added modules

Steps to Reproduce:

-Prepare a CSV file for product import with columns for "product attributes / attribute" and "product attributes / values".
-Go to the product import interface in Odoo.
-Upload the CSV file and map the columns appropriately.
-Set the system to create non-existent attributes during the import. said attributes should be instant variant creating attributes
-Initiate the import process.

Expected Result:

-The system should create non-existent attributes and values specified in the CSV.
-Product variants should be automatically created based on the attributes.

Actual Result:

The import process fails with an error due to non-existent attribute values.
After manually creating attributes, the products are created but variants are not automatically generated.
In the product form, the 'Configure' option next to attribute lists shows an empty table despite having several attribute values listed.

Workaround:

Deleting the products and re-uploading the CSV with the attribute values field renamed to "attribute_line_ids/value_ids" (still mapped to the same field "Product Attributes / Values") surprisingly works and imports correctly.

There seems to be an inconsistency in how the system handles the mapping of attribute fields during the import process.

Anton

I'm trying to do the same, except for creating new variants of a product, and getting the same blocking error even though I've selected "Create new values".

Having to manually create all the variants is very time intensive and is not really feasable for companies that have a lot of products, when you can easily create new products on import if you don't use variants.

Ảnh đại diện
Cybrosys Techno Solutions Pvt.Ltd
Câu trả lời hay nhất

Hi,


You are experiencing a limitation in Odoo’s product import when dealing with product attributes and values. While the fields Product Attributes / Attribute and Product Attributes / Values are correct, and selecting “Create new values” during the test step should allow Odoo to create missing values, the import fails if the attribute itself does not already exist in the database. This differs from older versions like v16, where the system was sometimes more lenient. Essentially, Odoo expects the attribute record to exist first, and the auto-creation option only works for values under that attribute.


To work around this limitation, it is recommended to pre-create all necessary attributes before importing the values. Another approach is to split the import into two steps: first import the attributes, then import the products with their values. Additionally, ensure there are no typos or invisible characters in the attribute names or values, as these can prevent auto-creation. The behavior you are seeing is a known limitation in newer Odoo versions, not an error in your workflow.


Reference:-


- https://www.cybrosys.com/blog/how-to-import-product-attributes-and-product-variants-in-odoo-17


- https://www.odoo.com/documentation/19.0/applications/sales/sales/products_prices/products/import.html


Hope it helps

0
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo 17 no sirve para Chile
bug failing Chile v17
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 7 25
2865
odoo 17, can't import Wysiwyg Đã xử lý
importing wysiwyg JS v17
Ảnh đại diện
Ảnh đại diện
2
thg 6 25
4001
Odoo 17 Sale Order PDF Template Bug
pdf sale bug v17
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
6
thg 12 24
5309
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Ảnh đại diện
Ảnh đại diện
1
thg 10 25
1283
How to add a new Many2one field in res.config.settings? Đã xử lý
v17
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 10 25
3671
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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