CHF 0.00
0

How to Map SOLIDWORKS Custom Properties to Odoo Product Fields

Plan and set up the mapping between SOLIDWORKS custom properties and Odoo product fields with PDMPublisher ERP Sync, with a typical mapping and common mistakes.
PDMPublisher ERP Sync window showing an indented BOM of speaker.sldasm with the Odoo connector selected
Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

To map SOLIDWORKS custom properties to Odoo product fields, open the Odoo connector in PDMPublisher ERP Sync, click Property mappings, then Load ERP fields. PDMPublisher reads the list of fields from your Odoo database, and you pair each SOLIDWORKS property with the Odoo field it should fill. The mapping is saved with the connector and used on every push.

Mapping is the part of a SOLIDWORKS to Odoo integration that decides whether the data in Odoo is useful or a mess. Get it right once and every product arrives with the right description, weight and reference. This guide covers how to plan the mapping, which fields matter most and the mistakes we see on real projects. For the full connection setup, see our guide on syncing SOLIDWORKS BOMs to Odoo.

PDMPublisher property mappings from SOLIDWORKS custom properties to Odoo fields

Start with the item code

Before any property, decide what identifies a product in both systems. In the connector settings, Item code column sets which value becomes the Odoo product reference. The file name without extension is a sensible default when your files are named by part number. If part numbers live in a custom property instead, use that property. Whatever you choose, it must never change, because it is how ERP Sync finds the same product on the next push.

A typical mapping

SOLIDWORKS propertyOdoo fieldNotes
File name without extensionNameReadable name in Odoo lists
DescriptionDescriptionUsually the most important field for purchasing
Weight or SW-MassWeightKeep units consistent with your Odoo setup
MaterialA custom field or descriptionCreate a custom field in Odoo if you filter by material
Vendor or ManufacturerA custom fieldUseful for purchased parts
RevisionA custom fieldOnly if Odoo needs to show the engineering revision

PDMPublisher only offers fields that your Odoo database actually has, so if you need a field such as material, create it in Odoo first, then click Load ERP fields again.

Custom or configuration properties?

SOLIDWORKS stores properties in two places: on the file, and per configuration. If different configurations become different Odoo products, map configuration specific properties so each product gets its own values. If one file is one product, file level custom properties are simpler. Check a few files before you decide, because mixed vaults are common.

Protect the data people enter in Odoo

Odoo is not only fed by engineering. Purchasing adds costs, vendors and lead times. Turn on Skip empty values so that a blank SOLIDWORKS property never wipes a value someone typed in Odoo. Only map a field from SOLIDWORKS when engineering owns it.

Test the mapping on one assembly

  1. Map two or three fields only: name, description and weight.
  2. Push a small assembly with Properties and Create items selected, and BOM turned off.
  3. Read the Review ERP changes list and check every field before you commit.
  4. Open the products in Odoo and confirm the values landed in the right place.
  5. Add the remaining fields, then turn on BOM.
Review ERP changes in PDMPublisher before writing to Odoo

Common mistakes

  • Using an item code that changes, such as a description, which creates duplicate products.
  • Mapping a property that is empty on most files, then wondering why Odoo is blank.
  • Sending weight in grams to an Odoo database set up in kilograms.
  • Mapping fields that purchasing maintains, and overwriting their work on every push.

Frequently asked questions

Can I map one SOLIDWORKS property to several Odoo fields?

Yes. Add a mapping row for each Odoo field.

Can I change the mapping later?

Yes. Edit the rows in Property mappings. The next push uses the new mapping, and the review shows exactly what will change.

Does it work in the free edition?

Yes. The Community Edition runs ERP Sync on up to 10 rows, enough to test your mapping on a small assembly.

See everything ERP Sync does, pricing and a cost comparison with a custom build on our SOLIDWORKS Odoo integration page.

Need this adapted to your workflow?

We build custom SOLIDWORKS macros, add-ins and PDM automation.

Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

Leave a Comment

0
0
Your Cart
Your cart is emptyReturn to Shop