Skip to main content

Product Restricted Type

Project description

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

This module adds ‘restricted_product_type’ to product_category model. With this optional selection field ‘restricted_product_type’ should have the same values as in the product.template, ‘type’ field.

A constrain is also established in the product so that when the ‘type’ defined in the product does not match with the ‘restricted_product_type’ defined in the product category it raises a Validation Error.

Also, in the product category one would not be able to change the field ‘restricted_product_type’ if the category has been assigned at least to one product that already has this category, but has a different ‘type’ value.

Table of contents

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

  • Eficent

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.

This module is part of the OCA/product-attribute project on GitHub.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_product_restricted_type-12.0.1.0.0.99.dev10-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_product_restricted_type-12.0.1.0.0.99.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 bf35e5202b664eac1efc58b802109838698fa58be9b7e9f846429d22dffd866a
MD5 0f97b2f115fc8c7904b75412b1a0ff74
BLAKE2b-256 7054b555c1c9e90150cb87ff2ea2e82a84e400fda3b31d1ce012ef07cdf50ff8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page