Product Restricted Type
Project description
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Adria Gil Sorribes <adria.gil@forgeflow.com>
Maintainers
This module is maintained by the OCA.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo_addon_product_restricted_type-15.0.1.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15d48db3db2c8203a06a67ae9702a9b679c9e8ca63b1c9f19e53c144aee92d6 |
|
MD5 | 02293106c6edd00e8fb34fe46e29b0ec |
|
BLAKE2b-256 | 7c9ade2d2e054d93fe9ed9185252bb57351ece9b8bbb50550beec66bcaf6a12b |