Metadata-Version: 2.1
Name: odoo-addon-product_attribute_auto_add
Version: 17.0.1.0.0.5
Requires-Python: >=3.10
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Add new attribute values to product templates automatically
Home-page: https://github.com/OCA/product-attribute
License: LGPL-3
Author: Cetmix, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 17.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

==========================
Product Attribute Auto Add
==========================

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

.. |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-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
    :target: https://github.com/OCA/product-attribute/tree/17.0/product_attribute_auto_add
    :alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_attribute_auto_add
    :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/product-attribute&target_branch=17.0
    :alt: Try me on Runboat

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

This module saves time by automatically managing product attribute
values. When you add a new value to an attribute, it will also be
automatically added in all product templates that have this attribute.

You can exclude specific product templates from this automatic update by
enabling the **"Disable Attribute Autoupdate"** checkbox on the product
template form.

**Table of contents**

.. contents::
   :local:

Configuration
=============

To enable Auto-Create Product Variants
--------------------------------------

- Go to Settings -> Products -> Variants -> Attributes
- Select an attribute record or create a new one
- On the Attribute form view, enable the "Auto-Add Value to Product
  Templates" checkbox

To exclude products from automatic attribute value updates
----------------------------------------------------------

- Go to **Products → Products**
- Open the product template you want to exclude
- Enable the **"Disable Attribute Autoupdate"** checkbox

Usage
=====

To add a new attribute variant to products
------------------------------------------

- Go to Settings -> Products -> Variants -> Attributes
- Select an attribute record or create a new one
- Add new Value on the Attribute Values notebook tab
- When a new attribute value is added, it will automatically be added to
  all products that have this attribute
  (except those where **"Disable Attribute Autoupdate"** is enabled).

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/product-attribute/17.0/product_attribute_auto_add/static/img/usage.PNG

Changelog
=========

17.0.1.0.0 (2025-03-21)
-----------------------

-[ADD] Initial release

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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/product-attribute/issues/new?body=module:%20product_attribute_auto_add%0Aversion:%2017.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
-------

* Cetmix

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

Mikhail Lapin lapin.mike@yahoo.com (https://www.cetmix.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.

.. |maintainer-mike-cetmix| image:: https://github.com/mike-cetmix.png?size=40px
    :target: https://github.com/mike-cetmix
    :alt: mike-cetmix

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-mike-cetmix| 

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/17.0/product_attribute_auto_add>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
