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.
I am having two different views for same model (product.template),one view will display records only if value of field update_require = True and the other one will display all records. now by using need action i have taken the count of records from that model in .py file.
def _needaction_domain_get(self, cr, uid, context=None):
return [('update_require', '=', True)]
Problem here is same count getting displayed for both the sidemenu links
For Eg: total records is 100
Records with True status is 75
For both side menu links 75 is coming. How to restrict this ?. How to display count for different views ?
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: 3/24/15, 2:16 AM|
|Seen: 544 times|
|Last updated: 3/24/15, 2:16 AM|