Product Attributes (Strict)
Tryton has a powerful system of attributes for products introduced by the product_attribute module. The module however uses the fields.Dict (JSON in database) field type to store attributes and this reduces the consistency since the lack of foreign keys and constraints allow deletion, renaming and editing of selection values even when used by products.
This module tries to remain as close as possible to Tryton’s attribute system, but avoids the dictionary field to have attributes stored on separate table.
Key differences
Options of attributes with the Selection type are stores in a new table. (Core module stores that in a text field in a JSON like syntax)
Attributes of product are stored on a separate table (Core module stores this as JSON serialized text in database)
FAQ
1. Can you move data from the tryton core module to this module ?
Yes, you can. An example script is provided to migrate the values from Tryton’s default attribute system to this one. The script can be found under scripts/migrate_from_core_module.py
2. Can this module be installed alongside core `product_attribute` module ?
Nope. You can use only one of the two modules and obviously we recommend ours
Professional Support
This module is professionally supported by Openlabs. If you are looking for on-site teaching or consulting support, contact our sales and support teams.
Metadata
Release files for openlabs_product_attribute_strict 3.4.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openlabs_product_attribute_strict-3.4.0.3.tar.gz | 8.5 kB | Without provenance | Details for openlabs_product_attribute_strict-3.4.0.3.tar.gz |
Release files / openlabs_product_attribute_strict-3.4.0.3.tar.gz
| Download URL | openlabs_product_attribute_strict-3.4.0.3.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fe97fe8455c022d29191832364b5d94c5eb13dfeb3743f1b0406ea12dca469e
|
|
BLAKE2b-256 checksum How to use checksums |
6f3c6abc42cb49a91ce0c97ee4aa80c774de9c0b2c7167b913b131e1622a2472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for openlabs_product_attribute_strict 3.4.0.3
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.