Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
429ccc0
[REF] rename modules based on attribute_set and pim
clementmbr May 18, 2020
1bbcdb7
[REF] rename 'attribute_nature' field into 'nature'
clementmbr May 18, 2020
fa6458f
[IMP] Add REAME to the 4 modules
clementmbr May 19, 2020
c0c95ca
[IMP] Move Product's attributes_placeholder to product_attribute_set
clementmbr May 27, 2020
db39d7b
[IMP] remove class in super() and other misc improvements
clementmbr May 27, 2020
964d6ff
[FIX] remove tests in product_attribute_set
clementmbr May 27, 2020
41682f8
[REF] remove @api.multi
clementmbr Jun 3, 2020
68e7e41
[13.0] Set modules to installable False
rousseldenis Jun 12, 2020
0ba53cb
[13.0] Set modules version to 13
rousseldenis Jun 12, 2020
81ae003
[13.0][MIG] product_attribute_set
rousseldenis Jun 15, 2020
c384945
[MIG] make all modules uninstallable
Feb 18, 2021
3a7b5cd
[MIG] update pre-commit conf from copier
Feb 18, 2021
7445753
[IMP] product_attribute_set: black, isort, prettier
Jan 6, 2021
a95e35c
[MIG] product_attribute_set: Migration to 14.0
Jan 6, 2021
2c7f78c
[FIX] product_category multiple write courtesy of <olivier@naya-tec.com>
Jan 4, 2021
5922c20
Added translation using Weblate (Spanish)
BorjaGarciaRouco May 27, 2021
6133211
Update translation files
oca-transbot Oct 6, 2021
a234eec
Added translation using Weblate (Spanish (Argentina))
ibuioli Sep 18, 2022
378cd7c
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 18, 2022
95349e5
[IMP] product_attribute_set: black, isort, prettier
chandni299 Oct 11, 2022
cf00f33
[16.0][MIG] - product_attribute_set
sbejaoui Feb 28, 2023
88af9de
[16.0][MIG] - product_attribute_set: add trnaslation fr_BE
glitchov Mar 28, 2023
bb4cefb
[16.0][MIG] - product_attribute_set: improve product view
glitchov Mar 29, 2023
6dc1aa2
[IMP] improve code
sbejaoui Aug 15, 2023
b531fc3
[IMP] product_attribute_set: Remove domain as computed in attribute_set
rousseldenis Oct 24, 2023
6806a5e
Translated using Weblate (Spanish)
Ivorra78 Nov 26, 2023
d9a387b
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 9, 2023
f3fd85f
Added translation using Weblate (French)
kbentaleb Jan 8, 2024
f224711
Translated using Weblate (French)
kbentaleb Jan 8, 2024
0984918
Added translation using Weblate (Italian)
mymage Jan 18, 2024
09f8642
Translated using Weblate (Italian)
mymage Jan 19, 2024
b857240
[IMP] product_attribute_set: allow displaying attributes for product …
JordiMForgeFlow Nov 23, 2023
031241a
[IMP] product_attribute_set: allow assigning variant attribute to tem…
JordiMForgeFlow Dec 6, 2023
898ccfe
[IMP] product_attribute_set: show native fields for variants
JordiMForgeFlow Dec 6, 2023
f5cdee9
Added translation using Weblate (Turkish)
Mar 7, 2024
180fc77
Translated using Weblate (Turkish)
Mar 7, 2024
f8b9bff
Translated using Weblate (Italian)
mymage Jul 22, 2024
72645e9
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 23, 2024
714e650
[IMP] product_attribute_set: pre-commit execution
Vandan-OSI Aug 29, 2024
d45faa0
[MIG]product_attribute_set: Migration to 17.0
Vandan-OSI Aug 29, 2024
5542bb0
[IMP] lint
dnplkndll Feb 5, 2025
a1000ff
[MIG] product_attribute_set: Migration to 18.0
kobros-tech Feb 10, 2025
b80a55d
[FIX] product_attribute_set: Simplify default attribute set retrieval
Nov 17, 2025
bf05b22
[MIG] product_attribute_set: Migration to 19.0
Nov 16, 2025
dbbfd1a
[DO NOT MERGE TEST REQUIREMENTS]
Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions product_attribute_set/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=====================
Product Attribute Set
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c8f3bc87e4527a2b6b0da0379466badb789202dd429ba9407b9678b9fd1dc29c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fodoo--pim-lightgray.png?logo=github
:target: https://github.com/OCA/odoo-pim/tree/19.0/product_attribute_set
:alt: OCA/odoo-pim
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/odoo-pim-19-0/odoo-pim-19-0-product_attribute_set
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/odoo-pim&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to display product's Attributes in product form views
thanks to the
`attribute_set <https://github.com/akretion/odoo-pim/tree/12.0/attribute_set>`__
module. It also adds a suggested link between product's Category and
product's Attribute Set.

However this module **does not provide an Attribute menu** to easily
manage product's Attribute as this feature is covered by the
`pim_attribute_set <https://github.com/akretion/odoo-pim/tree/12.0/pim_attribute_set>`__
module in the PIM (Product Information Management) application developed
by `Akretion <https://akretion.com/>`__

**Table of contents**

.. contents::
:local:

Usage
=====

To understand how to create and use Attributes, please refer to the
attribute_set module's README.

Known issues / Roadmap
======================



Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/odoo-pim/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/odoo-pim/issues/new?body=module:%20product_attribute_set%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion

Contributors
------------

- Sébastien BEAU <sebastien.beau@akretion.com>
- Clément Mombereau <clement.mombereau@akretion.com.br>
- Benoît Guillot <benoit.guillot@akretion.com>
- David Dufresne <david.dufresne@savoirfairelinux.com>
- El Hadji Dem <elhadji.dem@savoirfairelinux.com>
- Denis Roussel <denis.roussel@acsone.eu>
- Mohamed Alkobrosli <malkobrosly@kencove.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/odoo-pim <https://github.com/OCA/odoo-pim/tree/19.0/product_attribute_set>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_attribute_set/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions product_attribute_set/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2015 Akretion (http://www.akretion.com).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Product Attribute Set",
"version": "19.0.1.0.0",
"category": "PIM",
"license": "AGPL-3",
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/odoo-pim",
"depends": ["product", "attribute_set"],
"data": ["views/product.xml", "views/product_category.xml"],
"demo": ["demo/product_attribute.xml"],
"installable": True,
}
75 changes: 75 additions & 0 deletions product_attribute_set/demo/product_attribute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Attribute Sets -->
<record id="computer_attribute_set" model="attribute.set">
<field name="name">Computer</field>
<field name="model_id" ref="product.model_product_template" />
</record>
<record id="mouse_attribute_set" model="attribute.set">
<field name="name">Mouse</field>
<field name="model_id" ref="product.model_product_template" />
</record>
<!-- Attribute Groups -->
<record id="computer_technical_attribute_group" model="attribute.group">
<field name="name">Technical</field>
<field name="sequence" eval="1" />
<field name="model_id" ref="product.model_product_template" />
</record>
<record id="computer_transport_attribute_group" model="attribute.group">
<field name="name">Transport</field>
<field name="sequence" eval="2" />
<field name="model_id" ref="product.model_product_template" />
</record>
<!-- Custom attributes -->
<record id="computer_processor_attribute" model="attribute.attribute">
<field name="nature">custom</field>
<field name="field_description">Processor</field>
<field name="name">x_processor</field>
<field name="attribute_type">select</field>
<field name="attribute_group_id" ref="computer_technical_attribute_group" />
<field name="attribute_set_ids" eval="[(4, ref('computer_attribute_set'))]" />
<field name="model_id" ref="product.model_product_template" />
</record>
<record id="computer_processor_attribute_option_1" model="attribute.option">
<field name="name">Intel i5</field>
<field name="attribute_id" ref="computer_processor_attribute" />
</record>
<record id="computer_processor_attribute_option_2" model="attribute.option">
<field name="name">Intel i6</field>
<field name="attribute_id" ref="computer_processor_attribute" />
</record>
<record id="computer_processor_attribute_option_3" model="attribute.option">
<field name="name">Intel i7</field>
<field name="attribute_id" ref="computer_processor_attribute" />
</record>
<record id="computer_tech_description_attribute" model="attribute.attribute">
<field name="nature">custom</field>
<field name="field_description">Technical Description</field>
<field name="name">x_technical_description</field>
<field name="attribute_type">text</field>
<field name="attribute_group_id" ref="computer_technical_attribute_group" />
<field name="attribute_set_ids" eval="[(4, ref('computer_attribute_set'))]" />
<field name="model_id" ref="product.model_product_template" />
</record>
<record id="computer_linux_compatible_attribute" model="attribute.attribute">
<field name="nature">custom</field>
<field name="name">x_linux_compatible</field>
<field name="attribute_type">boolean</field>
<field name="attribute_group_id" ref="computer_technical_attribute_group" />
<field name="attribute_set_ids" eval="[(4, ref('computer_attribute_set'))]" />
<field name="model_id" ref="product.model_product_template" />
</record>
<!-- Native attributes -->
<record id="computer_weight_attribute" model="attribute.attribute">
<field name="nature">native</field>
<field name="field_id" eval="ref('product.field_product_template__weight')" />
<field name="attribute_group_id" ref="computer_transport_attribute_group" />
<field name="attribute_set_ids" eval="[(4, ref('computer_attribute_set'))]" />
</record>
<record id="computer_volume_attribute" model="attribute.attribute">
<field name="nature">native</field>
<field name="field_id" eval="ref('product.field_product_template__volume')" />
<field name="attribute_group_id" ref="computer_transport_attribute_group" />
<field name="attribute_set_ids" eval="[(4, ref('computer_attribute_set'))]" />
</record>
</odoo>
105 changes: 105 additions & 0 deletions product_attribute_set/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_attribute_set
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-26 19:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_attribute_set
#: model:ir.model,name:product_attribute_set.model_attribute_attribute
msgid "Attribute"
msgstr ""

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_product__attribute_set_id
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_id
#: model_terms:ir.ui.view,arch_db:product_attribute_set.product_template_search_view
msgid "Attribute Set"
msgstr "Conjunto de atributos"

#. module: product_attribute_set
#: model_terms:ir.ui.view,arch_db:product_attribute_set.product_template_form_view
#: model_terms:ir.ui.view,arch_db:product_attribute_set.product_variant_easy_edit_view
msgid "Attributes"
msgstr "Atributos"

#. module: product_attribute_set
#: model:attribute.set,name:product_attribute_set.computer_attribute_set
msgid "Computer"
msgstr "Ordenador"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_category__attribute_set_id
msgid "Default Attribute Set"
msgstr "Conjunto de Atributos por Defecto"

#. module: product_attribute_set
#: model:attribute.option,name:product_attribute_set.computer_processor_attribute_option_1
msgid "Intel i5"
msgstr "i5 de Intel"

#. module: product_attribute_set
#: model:attribute.option,name:product_attribute_set.computer_processor_attribute_option_2
msgid "Intel i6"
msgstr "i6 de Intel"

#. module: product_attribute_set
#: model:attribute.option,name:product_attribute_set.computer_processor_attribute_option_3
msgid "Intel i7"
msgstr "i7 de Intel"

#. module: product_attribute_set
#: model:attribute.set,name:product_attribute_set.mouse_attribute_set
msgid "Mouse"
msgstr "Ratón"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.computer_processor_attribute_ir_model_fields
msgid "Processor"
msgstr "Procesador"

#. module: product_attribute_set
#: model:ir.model,name:product_attribute_set.model_product_template
msgid "Product"
msgstr "Producto"

#. module: product_attribute_set
#: model:ir.model,name:product_attribute_set.model_product_category
msgid "Product Category"
msgstr "Categoría de Producto"

#. module: product_attribute_set
#: model:ir.model,name:product_attribute_set.model_product_product
msgid "Product Variant"
msgstr ""

#. module: product_attribute_set
#: model:attribute.group,name:product_attribute_set.computer_technical_attribute_group
msgid "Technical"
msgstr "Técnico"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.computer_tech_description_attribute_ir_model_fields
msgid "Technical Description"
msgstr "Descripción Técnica"

#. module: product_attribute_set
#: model:attribute.group,name:product_attribute_set.computer_transport_attribute_group
msgid "Transport"
msgstr "Transporte"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.computer_linux_compatible_attribute_ir_model_fields
msgid "X Linux Compatible"
msgstr "X Compatible con Linux"
Loading
Loading