Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
212 Vistas

I have selected the manufacture route on select products that need the ability to be manufactured, but I am still seeing the option to "build" products on the manufacturing orders page that do not have this route selected.


Avatar
Descartar
Mejor respuesta

This is by design. Likewise, you don't need to actually set the 'Buy' route to manually create a Purchase Order for a product. For Odoo it's just relevant, that the Product used in a Manufacturing Order is of type Good.

The routes are primarily used for operations, Odoo should perform, so you don't have to do it manually.


On another note, Odoo requires the 'Purchase' flag to be set, in order to list it as a product in a RFQ/PO by using a 'domain'.


If 'Purchase' is not set ...



...the product is not available for purchase:



To modify this behavior, you could take a look at how the list of check boxes on top of a product is added and then interpreted (i.e. Sales, Purchase, ...) and apply a similar approach to a yet-to-be-created field 'Manufacture'.

If you choose to do so on your own, you can find references on how to modify this behavior for example here:

https://www.odoo.com/documentation/18.0/applications/studio.html

https://www.odoo.com/documentation/18.0/developer/reference/backend/orm.html

Avatar
Descartar