Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2173 Widoki

Environment: Odoo 16, Enterprise, on .SH


Problem?

I'm trying to import on my Odoo MRP module some Bills of Materials (BOM for acronym lovers)

My issue is that I have some product variants, and the components depend on the variant, for example, I have Cases that comes in black, blue, red. The base component is the same for all three color variants, but I apply a specific colorant depending on the variant.


Product

Qty

UoM

Apply on variant

Component

BoM Line/QTY

BoM Line/UoM

Case

1

Units


Base component

19.4

kg




Red

Red Colorant

396

g




Blue

Blue Colorant

396

g




Black

Black Colorant

396

g





Small Box

1

Unit

So far I've tried to create the boom manually applying on variants and then exporting it to get the format from Odoo, but, for the apply on variant I get a field on each line that is, Color: Red, the next line: Color: Blue and so on. But when I try to import the exact same file I get the error that the values does no correspond to the database.


Then I exported the product ID's from the Variants menu so I get de product.product ID, put that product.product on the Excel file but it's not recognized.


I have a solution that is to create a fully independent BoM for each variant but i kinda fell that it's not appropiate or not taking full advantage of Odoo capabilities of simplifying things and keeping just one BoM with the variant diferentiation.


SO! my issue is that I want to import my BoM in Odoo applying product variants. Do you think that this is possible?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Felipe,

I think this module can help you: https://apps.odoo.com/apps/modules/16.0/vks_import_excel

Demo: https://www.youtube.com/watch?v=etMYrOJyaiU&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=2

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Felipe,

I believe the ID you are looking for is the one of product.product, but not the external ID, but this column here (which represents the attribute value of the finished product):


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
7227
1
sie 23
1965
1
kwi 25
944
3
wrz 24
2894
1
sty 23
5520