Hi, I'd like to disable the functionn of creating new products on the fly in sale order lines.
I have searched and found the code below and insert the code in developer mode:
options="{'no_create_edit': True, 'no_create': True}" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'uom':product_uom, 'company_id': parent.company_id}" attrs="{ 'readonly': [('product_updatable', '=', False)], 'required': [('display_type', '=', False)], }" force_save="1"/>
But it seems no working on my odoo instance, even after reboot odoo service. The create and more button still there.
Anybody know how to fix it? Thanks in advanced.