OdooWiki OCA HUB

Product Template Copy Attributes

product_template_copy_attributes folder_open OCA/product-attribute open_in_new
Uncategorised License: AGPL-3

When duplicating a product template, copy the attributes.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

When you duplicate a product template in Odoo, its attribute lines are now copied to the new product as well, instead of being left empty.

This module changes how product duplication works in Odoo. Normally, when a user duplicates a product template, the attribute lines (the variants configuration such as size or color) are not carried over to the copy. With this module installed, those attribute lines are copied too, so the duplicated product keeps the same attribute configuration as the original.

The change is applied on the product.template model by redefining the attribute_line_ids field so that it is copied during duplication. There are no new menus, screens, buttons, reports, checks, or scheduled jobs added by this module. It only affects the standard duplicate action available on product templates.

Users will notice the difference when they use the duplicate function on a product: the new product will already have the same attribute lines as the source product, saving the manual step of re-adding them. No other Odoo areas or models are touched.

Depends on

product
Models and fields (1)
  • product.template · extends an existing modelattribute_line_ids

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/product-attribute.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.