Beginner

Default Categories and Tags

Auto-assign Odoo categories and tags to supplier products

2 min read
Last updated: November 11, 2025
6 views

Default Categories and Tags

Automatically assign Odoo categories and tags to all products from a supplier.

Why Use Default Categories?

Save time by auto-assigning:

  • Product Category (product.category)
  • E-commerce Categories (product.public.category)
  • Product Tags

Instead of manually setting categories for each product.

Configuring Default Product Category

  1. Edit supplier
  2. Scroll to "Default Categories"
  3. Select "Default Product Category"
  4. Choose from Odoo categories

This category is applied to products that don't have a category specified in the supplier file.

Configuring E-commerce Categories

For products sold on your Odoo website:

  1. Enable "Default E-commerce Categories"
  2. Select one or more categories
  3. Save

Products will appear in these website categories by default.

Category Priority

When syncing products, categories are determined in this order:

  1. Product-specific category (from supplier file if mapped)
  2. Supplier default category
  3. Odoo's default category (usually "All")

Example Use Case

Scenario: All products from "ABC Electronics" should be in:

  • Product Category: "Electronic Components"
  • E-commerce Category: "Electronics" > "Components"

Configuration:

  1. Set Default Product Category: "Electronic Components"
  2. Set E-commerce Categories: "Electronics/Components"
  3. Save

Result: Every product imported from ABC automatically gets these categories.

Overriding Defaults

If a specific product needs different categories:

  • Map the category column in your import
  • The specific category overrides the default

Tags

Product tags work similarly:

  1. Enable "Auto-tag supplier products"
  2. Enter tags (comma-separated)
  3. Save

Example tags: "Imported", "ABC Supplier", "Wholesale"

Finding Odoo Category IDs

To find category IDs in Odoo:

  1. Go to Inventory → Configuration → Product Categories
  2. Enable Developer Mode
  3. Open the category
  4. Note the ID from the URL

Syncing Categories First

Before using default categories:

  1. Go to Dashboard → Odoo
  2. Click "Sync References"
  3. Wait for categories to sync

This ensures Pricelist Heaven has the latest category list from Odoo.

Was this article helpful?

Let us know if this guide helped you get started