Odoo Help

Welcome!

This community 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.

0

What is the use of Lazy?? can anybody explain me lazy= true and lazy=false

By
Annadurai
on 9/28/16, 1:59 AM 143 views

data = self.env['account.analytic.line'].read_group(domain, ['so_line', 'unit_amount', 'product_uom_id'], ['product_uom_id', 'so_line'], lazy=False )

1

Hello Annadurai,

if lazy true, the results are only grouped by the first groupby and the remaining groupbys are put in the __context key. If false, all the groupbys are done in one call.

I hope this is helpful to you

thanks 

thank u jitendra

Annadurai
on 9/28/16, 3:06 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/28/16, 1:59 AM
Seen: 143 times
Last updated: 9/28/16, 3:06 AM