Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
88 changes: 88 additions & 0 deletions product_attribute_set/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
=====================
Product Attribute Set
=====================

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

.. |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/licence-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/14.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-14-0/odoo-pim-14-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=14.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.

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:%2014.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 <[email protected]>
* Clément Mombereau <[email protected]>
* Benoît Guillot <[email protected]>
* David Dufresne <[email protected]>
* El Hadji Dem <[email protected]>
* Denis Roussel <[email protected]>

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/14.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": "15.0.1.0.0",
"category": "Generic Modules/Others",
"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,
}
77 changes: 77 additions & 0 deletions product_attribute_set/demo/product_attribute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?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'))]" />
<field name="model_id" ref="product.model_product_template" />
</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'))]" />
<field name="model_id" ref="product.model_product_template" />
</record>
</odoo>
160 changes: 160 additions & 0 deletions product_attribute_set/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# 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: 2024-03-17 23:57+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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.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:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_completion_rate
msgid "Attribute Set Completion Rate"
msgstr "Tasa de cumplimentación del conjunto de atributos"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_completion_state
msgid "Attribute Set Completion State"
msgstr "Estado de finalización del conjunto de atributos"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_completed_ids
msgid "Attribute Set completed criterias"
msgstr "Conjunto de atributos Criterios completados"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_not_completed_ids
msgid "Attribute Set not completed criterias"
msgstr "Conjunto de atributos criterios no cumplidos"

#. module: product_attribute_set
#: model:ir.model.fields,help:product_attribute_set.field_product_template__attribute_set_completion_rate
msgid "Attribute set completeness percentage"
msgstr "Porcentaje de integridad del conjunto de atributos"

#. module: product_attribute_set
#: model:ir.model.fields,help:product_attribute_set.field_product_template__attribute_set_completion_state
msgid "Attribute set completeness status"
msgstr "Estado de integridad del conjunto de atributos"

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

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__attribute_set_completeness_ids
msgid "Completeness Requirements"
msgstr "Requisitos de Integridad"

#. 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:ir.model.fields,field_description:product_attribute_set.field_product_category__display_name
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: product_attribute_set
#: model:ir.model.fields,field_description:product_attribute_set.field_product_category__id
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template__id
msgid "ID"
msgstr "ID (identificación)"

#. 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:ir.model.fields,field_description:product_attribute_set.field_product_category____last_update
#: model:ir.model.fields,field_description:product_attribute_set.field_product_template____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

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

#. module: product_attribute_set
#: model:attribute.attribute,field_description:product_attribute_set.computer_processor_attribute
#: 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_category
msgid "Product Category"
msgstr "Categoría de Producto"

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

#. 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:attribute.attribute,field_description:product_attribute_set.computer_tech_description_attribute
#: 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:attribute.attribute,field_description:product_attribute_set.computer_volume_attribute
msgid "Volume"
msgstr "Tomo"

#. module: product_attribute_set
#: model:attribute.attribute,field_description:product_attribute_set.computer_weight_attribute
msgid "Weight"
msgstr "Peso"

#. module: product_attribute_set
#: model:attribute.attribute,field_description:product_attribute_set.computer_linux_compatible_attribute
#: 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