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
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
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
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
1
maalisk. 24
|
7175 | ||
|
|
1
heinäk. 24
|
3635 | ||
|
|
6
kesäk. 20
|
4201 | ||
|
|
1
heinäk. 25
|
954 | ||
|
|
1
lokak. 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.