diff options
| author | Andrius Laukavičius <andrius@focusate.eu> | 2019-05-12 18:16:20 +0000 |
|---|---|---|
| committer | Andrius Laukavičius <andrius@focusate.eu> | 2019-05-14 10:09:24 +0000 |
| commit | 476a53bbf0c28a97caabff4ac2950df3132dd743 (patch) | |
| tree | e49aab5bc93db050a0414321dfc3050fd870c9dc /addons/web/static/src/js | |
| parent | 99a12a94c2158db8415cb094592fdcbbbd0456b6 (diff) | |
[FIX] sales_team: ignore inactive team
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>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
