I'm trying to find out the proper procedure to perform a BOM import that has mainly two scenarios:
1. Import BOM without any shared components: Imagine you are importing BOM for product X that has 10 components: A1, A2, A3..., A10. The design engineer generates a csv file with the entries of these components, their manufacturer part#, name, quantities, etc.
Goal is to create these products on import and associate them to the BOM of Product X.
2. Import BOM with some shared components: Imagine you are importing BOM for product Y that has also 10 components and 7 of them are shared:
A1, A2, A3,..., A7. And some new components B1, B2 and B3.
We need a procedure to import/create the new products and associate the shared as well as the new components to the BOM of product Y. And this procedure needs to be somewhat automated as our 'real world' cases will have 100+ components and we may not know which ones are the shared components
the way we came up with was to export all products in the Odoo DB, then compare the components to the list of exported components from the Odoo DB.
Once you figure out the ones you already have, you import the ones you don't have.
After that you export again, then you get all the internal IDs for all products, then you match to the ones in your BOM, and after you did that you import your BOM with those IDs
I can't imagine this to be the right way to do it...
Your help would be highly appreciated!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/20/16, 11:21 AM|
|Seen: 283 times|
|Last updated: 5/20/16, 11:26 AM|