Odoo Help


changing dropdown make a new product

Johan d'Hollander
on 5/27/14, 5:15 AM 1,007 views

When creating a new product, on the tab 'acquisitions' (verwervingen in dutch) i would like to change the order of the dropdown.

now it is standard 'make stock' but i would like to change it to 'make to order'

i guess its somewhere in the code but i cannot find it.

On 5/27/14, 6:46 AM

You can find the code in "Procurement" addon's "procurement.py" file.

class product_template(osv.osv):

    _columns = {
        'type': fields.selection([('product','Stockable Product'),('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Consumable: Will not imply stock management for this product. \nStockable product: Will imply stock management for this product."),
        'procure_method': fields.selection([('make_to_stock','Make to Stock'),('make_to_order','Make to Order')], 'Procurement Method', required=True, help="Make to Stock: When needed, the product is taken from the stock or we wait for replenishment. \nMake to Order: When needed, the product is purchased or produced."),
        'supply_method': fields.selection([('produce','Manufacture'),('buy','Buy')], 'Supply Method', required=True, help="Manufacture: When procuring the product, a manufacturing order or a task will be generated, depending on the product type. \nBuy: When procuring the product, a purchase order will be generated."),
    _defaults = {
        'procure_method': 'make_to_stock',
        'supply_method': 'buy',

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/27/14, 5:15 AM
Seen: 1007 times
Last updated: 3/16/15, 8:10 AM