Skip to main content

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

  1. 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)

  2. 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

Metadata

Release files for fio_product_attribute_strict 4.0.0.3

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

Source distribution (sdist)

Source distribution for fio_product_attribute_strict 4.0.0.3
File Size Uploaded
fio_product_attribute_strict-4.0.0.3.tar.gz 8.4 kB Details

Release files / fio_product_attribute_strict-4.0.0.3.tar.gz

Download URL fio_product_attribute_strict-4.0.0.3.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d5b7bf437b7862f9857866f0ca621ccd49acfbd732fed1904e9cfe1d5215f29d
BLAKE2b-256 checksum
How to use checksums
285ea6aff79188c5e97f895c29982ad5419ae27ffc9a1ccd3ba7f5d5db2f3a51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

4.0.0.3 This release

1 release file

4.0.0.2

1 release file

4.0.0.1

1 release file

3.6.1.0

1 release file

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