[FIX] website_crm : impossible to add a crm form

In large database with lot of user, the browser don't respond.

closes odoo/odoo#106640

X-original-commit: 0f597b3a9c4110d2984000c21564cc95e61491c4
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Florent de Labarre
2022-11-28 00:25:44 +01:00
committed by GitHub
parent 63c66dbf5c
commit 45b2017004
@@ -52,6 +52,7 @@ FormEditorRegistry.add('create_lead', {
name: 'user_id',
type: 'many2one',
relation: 'res.users',
domain: [['share', '=', false]],
string: _t('Salesperson'),
title: _t('Assign leads/opportunities to a salesperson.'),
}],