in field definition,
original field is in product module :
'type': fields.selection([('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Consumable are product where you don't manage stock, a service is a non-material product provided by a company or an individual."),
override in stock module :
'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."),
create a new module depending stock module and override the field by adding tuple you need to the selection field
As Cyril explained, you can quite easily do that. But are you sure about the consequences? Why would you like to do that at all? What is the difference between a stockable product and a stockable part? Do you know what happens with your warehouse management, the inventory valuation, your bill of materials (if any) etc.? What if you have to deliver spare parts? Product definition is at the heart of an ERP system, I would never ever do something like that.
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/30/15, 6:44 PM|
|Seen: 1696 times|
|Last updated: 3/31/15, 4:23 AM|