Skip to Content
Menu
This question has been flagged

Hello, I'm using Odoo 13 Community Edition.


I created an automated action, that every time if a User creates a new product, a BOM and a routing based on that product are going to be created.


Now to make it easier for every User, i want the BOM list view (we only have one BOM per product and one product an that bom) and the operations ids from that BOM directly editable in the Product Template from view for certain product categories.


I tried to add fields with in relation of the bom_ids in the product.template.py and so on but i only get errors.


Thanks in advance.

Avatar
Discard
Best Answer

For bill of material you can directly add those fields in the views

For Template : bom_ids

For Variant : variant_bom_ids

For routing and its operations nothing ralated with product as it is generic process which can be used to build multiple product.

How ever if you want a operations of  bom routing, then you can add new many2many computed field.



Avatar
Discard
Author

Thank you for your answer!

I want to see the products that are in the bom (the first bom, we have only one per product), not the bom_ids from a product.

Can you show me how this computed field would look like for the routing?

Related Posts Replies Views Activity
1
Sep 21
1198
2
Jun 23
6141
2
Jul 24
40
1
Feb 24
1379
3
Dec 23
666