feat: persistent hidden categories with wizard and toggle

Categories to hide are stored on woo.instance and persist across sessions.
Click 'Hidden (N)' button to open wizard where you can add/remove categories
using a tag picker. Eye/eye-slash toggle to quickly apply or unapply the
filter without losing the saved list.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-01 16:06:15 -04:00
parent 52be90c10d
commit 5e806745da
9 changed files with 138 additions and 48 deletions

View File

@@ -53,6 +53,10 @@ class WooInstance(models.Model):
# Category mapping
category_map_ids = fields.One2many('woo.category.map', 'instance_id', string='Category Mappings')
excluded_category_ids = fields.Many2many(
'product.category', string='Hidden Categories',
help='Products in these categories will be hidden from the unmatched products list.'
)
# AI Configuration
ai_provider = fields.Selection([