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.
Hello Everyone my function is:
def _get_values(self, cr, uid, context=None):
for i in range(0,21): k=str(i) j=(k,k) l.append(j) return l
I am using that function to print a list(0 to 20) in a selection field. But Zero is not considered in the list, it starts from 1 to 20. Please give me the solution.
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/22/14, 8:38 AM|
|Seen: 603 times|
|Last updated: 3/16/15, 8:10 AM|