When using `sales_team.team_sales_department` as fall back default team, last condition that checks if such team can be default was incorrect, because `active` value check was mixed with lead type check. In other words: True or False and False => True But intention is: (True or False) and False => False opw 1997715 closes odoo/odoo#33316 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2 lines
32 B
Python
2 lines
32 B
Python
from . import test_default_team
|