I created a duplicate variant list. How can I delete it?
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
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
If you’ve created a duplicate product variant in Odoo 19, the way to remove it depends on what was duplicated. If you see two identical entries under Products → Variants, simply switch to list view, locate the duplicate, and delete it using Action → Delete. If the delete option is unavailable because the variant is linked to transactions, it’s safer to archive it instead so it no longer appears in selection lists but remains in the database for traceability.
If the duplication comes from repeated attribute lines on a product template (for example, two “Color” or “Size” entries), open the product under Sales → Products, go to the Variants tab, and remove the extra attribute line using the trash icon. After saving, Odoo will automatically clean up the redundant variants created by that duplication.
For duplicates created by import or customization, you can access them in Developer Mode through Settings → Technical → Database Structure → Models → product.product, find the records, and delete them carefully. However, deleting is risky if the variant has been used in stock moves, sales, or accounting entries — in those cases, archiving is the best practice. In summary, delete unused variants, remove duplicate attribute lines, and archive anything that’s already tied to business transactions.
Hope it helps
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 | |
|---|---|---|---|---|
|
|
1
thg 3 24
|
7175 | ||
|
|
1
thg 7 24
|
3635 | ||
|
|
6
thg 6 20
|
4201 | ||
|
|
1
thg 7 25
|
954 | ||
|
|
1
thg 10 25
|
3202 |
I have created two variants called "Size" and it is causing confusion. I need to delete the variant set.
Odoo calls this an attribute. You can't archive it if it has already been used on products. You can rename it to something like SIZES --> Do not use and either archive or rename the related variants.