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.
How to display selection only year [Closed]
The Question has been closed for reason: contains offensive or malicious remarksby
I want to display field selection only years. how to code field function with type selection years?. i have use this code. but i dont know how to code in value of selection.
year = time.strftime('%Y',time.strptime(datetime, "%Y"))
'year': fields.function(_get_year, type='selection', selection=[('??????????')], string='Years'),
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: 4/27/16, 11:57 PM|
|Seen: 298 times|
|Last updated: 4/29/16, 6:07 AM|