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.
On v7, group by date (anywhere), groups results by month and not the day. I understand that there is a workaround to add date to char column and group by that field.
The thing is that i defensively don't want to go through 9-10 modules i have inline and fix them.
is there any other solution?
This is a confirmed bug and you will have execute a sql command manually.
cr.execute('SELECT call_date, COUNT(*) AS num_calls FROM bitco_voice_daily_summary GROUP BY call_date;')
results = cr.fetchall()
for result in results:
p 'There were ' + str(result) + ' calls made on '+ str(result)
Be careful of sql injection if you're building a query with parameters.
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: 10/2/13, 5:54 AM|
|Seen: 1849 times|
|Last updated: 3/16/15, 8:10 AM|