I need to modify or add new items in the combo box of the product type cul me appears when you add a new product, by default you have 3, the storable, consumable and service. I want to change this to just 2, one product and another saying that says licenses. This is according to in product.py file where you have to change, but I already did not show changes, and even reboot the server and not so visible. Stand them to modify codes:
in the class product_template (osv.osv) Variable class _columns
fields.selection ([('consumer', 'Consumable'), ('service', 'Service')])
Variable _defaults change in this
if it is not the only file you need to change to see the change of the combo box.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/14/14, 1:07 PM|
|Seen: 1271 times|
|Last updated: 7/3/16, 9:21 AM|