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:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user