Skip to Content
Menu
This question has been flagged
2 Replies
2012 Views

The documentation for BoM variants states that you can add multiple variants per BoM line, presumably to include that BoM line in an MO created for any variant listed on that line. In testing when more than one variant was specified on a given line that line did not appear in an MO generated for any variant.

For example, say we offer a two-piece vehicle seat (base and back) that's either tan or black and heated or unheated. The base is heated or unheated but the back has no heater option, just a color choice. In the "all variants" BoM I created a line for each of the four seat base combinations, each with one variant selected. Then I added the two seat backs, each with two variants selected, one heated and one unheated.  In this configuration no seat back winds up on an MO created for any of the four variants.

To get it to add the seat back to an MO I had to add the same seat back product to the BoM twice more and add heated variant to one, unheated variant to the other -- not ideal. Is it failing to work like the documentation suggests or is there something I'm not understanding about how it should be functioning?

This BoM fails to add the seat back:

Base - Heated, Tan

Seat Assy: Heated, Tan


Base - Heated, Black

Seat Assy: Heated Black


Base - Unheated, Tan

Seat Assy: Unheated Tan


Base - Unheated, Black

Seat Assy: Unheated Black


Back - Tan

Seat Assy: Heated Tan


Seat Assy: Unheated Tan

Back - Black

Seat Assy: Heated Black

Seat Assy: Unheated Black

This BoM adds the seat back but isn't the desired method:

Base - Heated, Tan

Seat Assy: Heated, Tan

Base - Heated, Black

Seat Assy: Heated Black

Base - Unheated, Tan

Seat Assy: Unheated Tan

Base - Unheated, Black

Seat Assy: Unheated Black

Back - Tan

Seat Assy: Heated Tan

Back - Tan

Seat Assy: Unheated Tan

Back - Black

Seat Assy: Heated Black

Back - Black

Seat Assy: Unheated Black

Using Odoo 11 Enterprise, verified it functions this way in a stock runbot instance.


Avatar
Discard
Author Best Answer

The karma system is silly so I can't upvote. I get it now, I was making a 1:1 correlation between attributes and variants that isn't necessarily true. Thanks, Paresh!

Avatar
Discard

No problem. Glad to help.

Please do select the check mark next to the solution if the system allows you so that it gets marked as resolved.

Best Answer

Hi Steen:

This should work if you define your BOM like so.

https://imgur.com/a/hGRCh2C

When you then create the MO - for example, Seat (Black, Heated) - the right components get selected like so.

https://imgur.com/a/BQM0pu4

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 22
1065
0
Oct 20
1803
0
Aug 23
489
2
Jun 23
1666
2
Jan 22
2883