[FIX] website_sale: Correct partner search

8b921471e4c11575b64d6e5e84508fc625dd2b07 has introduced wrong context key which replaces `res_partner_search_mode` with the depricated `search_default_customer` which was breaking search functality added by 8766f388da

In this commit we correct context's key.

closes odoo/odoo#50222

X-original-commit: 2e309d41cd7e7f22343379bd8a6b397b7d8684fd
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Swapnesh Shah
2020-04-27 12:01:58 +00:00
committed by GitHub
parent b3e54ac38b
commit 52d49d635f
@@ -272,7 +272,7 @@
<field name="partner_id" position="attributes">
<attribute name="context">{
'display_website': True,
'search_default_customer': 1,
'res_partner_search_mode': 'customer',
'show_address': 1,
'show_vat': True,
}</attribute>