Product Matching in Odoo
When syncing products, Pricelist Heaven checks if they already exist in Odoo.
Matching Strategy
Products are matched in this order:
1. By Product Code (default_code)
Most reliable. If Odoo product has matching default_code, it's a match.
2. By Barcode (EAN)
If code doesn't match, check barcode.
3. By Name (optional)
If enabled in settings, match by exact product name.
Sync Behavior
Configure what happens when products match or don't match:
Product Found
- Update: Update existing product
- Skip: Keep existing product unchanged
Product Not Found
- Insert: Create new product
- Skip: Don't create
Conflicts
If multiple products match (e.g., same EAN), the sync will:
- Log an error
- Skip the product
- Continue with other products
Field Sync Policies
For each field, configure:
- Always update: Overwrite Odoo value
- Only if empty: Update only if Odoo field is blank
- Never update: Skip this field
Best Practices
Use Product Codes
Always include product codes for reliable matching.
Unique Identifiers
Ensure codes and barcodes are unique.
Test First
Do a test sync with a few products before syncing thousands.