Linking to Odoo Partner
Linking a supplier to an Odoo partner enables automatic supplier info creation in Odoo.
What is an Odoo Partner?
In Odoo, partners (model: res.partner) represent:
- Customers
- Suppliers
- Contacts
When you link a Pricelist Heaven supplier to an Odoo partner, product sync will create supplier info (product.supplierinfo) records.
Why Link to Odoo Partner?
Automatic Supplier Info
When syncing products, Pricelist Heaven creates:
- Product record (
product.product) - Supplier info (
product.supplierinfo) linking product to supplier
Accurate Purchase Orders
Odoo can generate purchase orders with correct:
- Supplier name
- Supplier product code
- Lead time
- Minimum order quantity
Price History
Track historical prices from this supplier in Odoo.
Finding the Odoo Partner ID
Method 1: From Odoo URL
- Open Odoo
- Go to Purchases → Suppliers
- Click on the supplier
- Check the URL:
The Partner ID ishttps://your-odoo.com/web#id=123&model=res.partner&...123
Method 2: Enable Developer Mode
- Go to Settings → Activate developer mode
- Go to Purchases → Suppliers
- Open the supplier
- Check the top-right (you'll see "Partner: 123")
Linking in Pricelist Heaven
- Edit the supplier profile
- Enable "Link to Odoo Partner"
- Enter the Partner ID
- Verify the partner name displays correctly
- Save
What If Partner Doesn't Exist?
If the supplier doesn't exist in Odoo yet:
- Create the partner in Odoo first
- Set "Supplier" checkbox
- Note the Partner ID
- Link in Pricelist Heaven
Or:
Use Pricelist Heaven without linking. Products will be created but without supplier info.
Troubleshooting
"Partner not found"
- Verify the ID is correct
- Ensure the partner exists in your Odoo database
- Check that Odoo connection is working
"Access denied"
- Ensure your Odoo user can read partners
- Check that the partner is not archived