{"id":32527,"date":"2025-11-15T12:48:52","date_gmt":"2025-11-15T12:48:52","guid":{"rendered":"https:\/\/tenthplanet.in\/odoo\/?p=32527"},"modified":"2025-11-28T12:19:15","modified_gmt":"2025-11-28T12:19:15","slug":"create-a-product-attribute-in-odoo","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/odoo\/product\/master\/create-a-product-attribute-in-odoo\/","title":{"rendered":"How to create a Product Attribute in Odoo"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Product Attribute<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Attributes in Odoo are defining features or properties that describe and differentiate products from the other products Where the products have different values such as <strong>color, size, material.<\/strong> For example, a \u201c<strong>Sandal\u201d<\/strong>might have attributes like <strong>Color<\/strong> (Red, Blue, Green) and <strong>Size<\/strong> (6, 7, 8). Each unique combination of these attribute values creates a different product variant, such as <em>Sandal &#8211; Red &#8211; 6<\/em> or <em>Sandal &#8211; Blue &#8211; 8<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Purpose of Product Attribute<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Attributes allow businesses to manage multiple variations of the same product efficiently, easier inventory tracking, and clearer product listings for customers. Instead of creating each variation manually, attributes help automatically generate all possible combinations, saving time and reducing errors in product management.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Components of an Attribute<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Attribute Name<\/strong> \u2013 The name of the characteristic (e.g., Color).\n<strong>Attribute Values<\/strong> \u2013 The possible options for the attribute (e.g., Red, Blue, Green).\n<strong>Display Type<\/strong> \u2013 Defines how the values are shown in the interface (e.g., Radio, Select, Color).\n<strong>Variants Creation Mode<\/strong> \u2013 Determines when variants are created:\n<strong>Instantly<\/strong> \u2013 Created as soon as the attribute is added.\n<strong>Dynamically<\/strong> \u2013 Created when the variant is needed.\n<strong>Never<\/strong> \u2013 No variant created <\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"469\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute.png\" alt=\"Inventory Product Attribute \" class=\"wp-image-32531\" style=\"width:840px;height:auto\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute.png 836w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-300x168.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-768x431.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Creating a New Attribute<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create a new attribute, click the \u201cNew\u201d button. This opens the attribute creation form where details such as the attribute name, display type, and attribute values can be entered.The \u201cDisplay Type\u201d field is preset to \u201cRadio\u201d by default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The \u201cVariants Creation Mode\u201d field defaults to \u201cInstantly.\u201d Values can be added in the \u201cAttribute Values\u201d section.Multiple values can be added for each attribute. Attempting to enter duplicate values for the same attribute will trigger the following alert: \u201cThe operation cannot be completed: You cannot create two values with the same name for the same attribute.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the display type is set to \u2018color\u2019, then values can be assigned, and custom options such as a specific value, color, or image can be provided in the Odoo attribute and also related products are displayed in the attribute.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name-1024x500.png\" alt=\"Odoo Product Attribute Name\" class=\"wp-image-32540\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name-1024x500.png 1024w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name-300x146.png 300w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name-768x375.png 768w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name-1536x750.png 1536w, https:\/\/tenthplanet.in\/odoo\/wp-content\/uploads\/sites\/8\/2025\/11\/Tenthplanet-Odoo-Product-Attribute-Name.png 1585w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Integration with Product Master<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you create attributes and values in Odoo, they immediately become visible in the Product Master and can be used to configure your products.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Deleting attributes:<\/strong> You can only delete an attribute if it isn\u2019t linked to any product.<\/li>\n\n\n\n<li><strong>Protected attributes:<\/strong> If you try to delete an attribute that\u2019s still associated with existing products, Odoo will show this message:<br><em>\u201cYou cannot delete the attribute because it is used on the following products.\u201d<\/em><\/li>\n\n\n\n<li><strong>Previous associations matter:<\/strong> Even if you unassigned an attribute and its values from all products, deletion may still be restricted if it was previously linked to products.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Example: Product: T-Shirt\n\n            Attributes and Values: <strong>Color<\/strong>: Red, <strong>Size<\/strong>: Small, <strong>Material<\/strong>: Cotton<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Product Attribute Attributes in Odoo are defining features or properties that describe and differentiate products from the other products Where [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[538],"tags":[99,449,478],"class_list":["post-32527","post","type-post","status-publish","format-standard","hentry","category-master","tag-inventory","tag-product","tag-product-attribute"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts\/32527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/comments?post=32527"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/posts\/32527\/revisions"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/media?parent=32527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/categories?post=32527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/odoo\/wp-json\/wp\/v2\/tags?post=32527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}