Skip to main content
Odoo Community Association

Product Categories - Company Favorites

Beta License: AGPL-3 OCA/multi-company Translate me on Weblate Try me on Runboat

This module is usefull in a multi-company context if - the companies doesn’t have to use all the same categories - if you apply companies to your products.

Without that module, when creating products, end user can select categories that don’t make sense for the current company. With that module, categories manager can set for each company, which category will be displayed, reducing configuration error. (and so accounting error if accounts are set at the category level.)

You could be interested by concurrent module named product_category_company, (same repository), that propose similar features but with alternative implementation.

Note

  • When creating new root category:

    • it is favorite for all the other company if it is favorite in the current context.

    • it is not favorite for all the other company if it is not favorite in the current context.

  • When creating new child category:

    • the category will inherit the configuration of the parent category in each company.

  • when creating a new company:

    • all the existing categories are favorite in the new created company.

Table of contents

Configuration

  • Select a company you want to configure

  • Go to “Inventory” > “Configuration” > “Product Categories”

  • Uncheck categories you don’t want to use for the current company.

https://raw.githubusercontent.com/OCA/multi-company/16.0/product_category_company_favorite/static/description/product_category_tree.png

Usage

  • Go in “Inventory” > “Master Data” > “Products”

  • Create a new product

https://raw.githubusercontent.com/OCA/multi-company/16.0/product_category_company_favorite/static/description/product_form_view.png

End user doesn’t have access to the category “All / Consumable” that is not favorite in the current company.

Known issues / Roadmap

There is a little UX bug. When user display product categories in the tree view and click to select which category is favorite and which category is not, if the category has children, the value of the children is updated in the database but the display is not updated.

Refresh the page resolve the problem.

Bug Tracker

Bugs are tracked on GitHub 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.

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

Credits

Authors

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

legalsylvain

This module is part of the OCA/multi-company project on GitHub.

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

Metadata

Release files for odoo-addon-product-category-company-favorite 16.0.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-product-category-company-favorite 16.0.1.0.2
File Interpreter ABI Platform Actions
odoo_addon_product_category_company_favorite-16.0.1.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_product_category_company_favorite-16.0.1.0.2-py3-none-any.whl

Release files / odoo_addon_product_category_company_favorite-16.0.1.0.2-py3-none-any.whl

Download URL odoo_addon_product_category_company_favorite-16.0.1.0.2-py3-none-any.whl
Size 86.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d5bf967600891521d39e7a41f49b7d4ccaea0b1053ebe32fabd80838ef193e1
BLAKE2b-256 checksum
How to use checksums
6bdf87967d520e6f833bb82999024d6276e03ef33eaef420597d917cdc70caa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-product-category-company-favorite 16.0.1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page