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

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.


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć