Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
112 Zobrazení

I created a duplicate variant list.  How can I delete it?

Avatar
Zrušit
Autor

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.

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 24
7166
1
čvc 24
3633
6
čvn 20
4189
1
čvc 25
954
1
říj 25
3186