Skip to content

Conversation

@bosd
Copy link

@bosd bosd commented Jan 3, 2026

This module provides JSONB optimization for attribute_set by integrating with base_sparse_field_jsonb from OCA/server-tools.

Features:

  • Automatic migration of x_custom_json_attrs columns to JSONB
  • GIN index creation for fast key/value lookups
  • Per-attribute expression indexes for frequently filtered attributes
  • Server action to regenerate all indexes

This module is the bridge between:

  • base_sparse_field_jsonb (generic JSONB field in server-tools)
  • attribute_set (functional module in odoo-pim)

Auto-installs when both attribute_set and base_sparse_field_jsonb are present.

Depends on: OCA/server-tools#3480
and #226

bosd added 2 commits January 3, 2026 21:27
This module provides JSONB optimization for attribute_set by integrating
with base_sparse_field_jsonb from OCA/server-tools.

Features:
- Automatic migration of x_custom_json_attrs columns to JSONB
- GIN index creation for fast key/value lookups
- Per-attribute expression indexes for frequently filtered attributes
- Server action to regenerate all indexes

This module is the bridge between:
- base_sparse_field_jsonb (generic JSONB field in server-tools)
- attribute_set (functional module in odoo-pim)

Auto-installs when both attribute_set and base_sparse_field_jsonb are present.
@bosd bosd force-pushed the 19.0-ADD-attribute_set_jsonb branch from 02d1333 to 13cd99f Compare January 3, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant