Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is there any method to fetch the label of a selection field from its value?
'type': fields.selection([('product','Stockable Product'),('service','Service Product'), ('consu','Consumable Product')],'Type')
if we wish to fetch a product type like
product.type if its value is
'service' we want to get its label as
'Service Product', is there any way to get the label in python or in openerp ?
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/31/14, 1:38 AM|
|Seen: 1770 times|
|Last updated: 10/28/15, 1:15 AM|