For odoo 8:::
Now using this I can get one value
sqary1="SELECT name FROM p_task where id ="+str(mem_id)
if my query is this::::::::::::::: "SELECT ALL FROM p_task"
then I get multiple values.How I can enter all this values in a python array?
what to write instead of str(self.env.cr.fetchone()) to catch this multiple values in an array
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: 12/10/15, 6:16 AM|
|Seen: 389 times|
|Last updated: 12/10/15, 8:19 AM|