6bd5c69ed637990395ba53e6b4c6cccb88ca8760
Steps to reproduce the bug: - Go to CRM and create a team. - Create 2 Opportunities and assign them to the created team - Put a date in the past for 'Expected Closing' - Mark one of the opportunities as won - Go to CRM > Sales > Teams - You will see that the number of overdue opportunities is 1 but when clicking on it, it shows 2 Problem: As an opportunity is in a stage with "is_won= True" so it was won (Probability 100%). It should not be displayed with the overdue opportunities Lost opportunities should not be displayed also. Solution: Opportunities won or lost have a closing date, so we can use this field to filter them: https://github.com/odoo/odoo/blob/14.0/addons/crm/models/crm_lead.py#L590-L591 opw-2590471 closes odoo/odoo#75376 X-original-commit: b699c3e28c4cf745a91eb29bf5c85c429d152335 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%