magnifying-glassRead BOM WorkCenters

circle-info

Choose what to display

The work centers and operations both depend on mpr.bom.operation_ids. You'll want to display one of the following:

  • The mapped work center or stations, read-only (e.g. Drill Station 1, Galvanization, Powder Coating)

  • The mapped operation names (e.g. Drill, Galvanize, Powder Coat)

For more complicated mappings, please contact us through the support portal.

Create a new Property Mapping

Create a new Property Mapping with the following settings:

Setting
Value

Property Name / Header

Operation WorkCenters

Accessor

operationWorkCenters

Primary Property

(Unmapped)

Secondary Property

mrp.bom.operation_ids

Update Odoo on Submit

false

[not here, we'll do it for the individual operations]

List Name

mrp.workcenter

List Value Selector

{id}:{resource_id[1]}

Rendering Type

Advanced Multi Select List

List Display Selector

name

List Value Selector

id

List items

Copied from the List Value (and formatted as a JSON array) but should look something like this

Enabled

true

Prefer Odoo Value

true

circle-check

Add an import rule

After adding the new Property Mapping, add an import rule

Setting
Value

Type

import

Name

Text Manipulation

Process for {Primary}

false

Process for Odoo

true

JavaScript expression

Last updated