Skip to content
Snippets Groups Projects
Commit 2e309d41 authored by Swapnesh Shah's avatar Swapnesh Shah Committed by GitHub
Browse files

[FIX] website_sale: Correct partner search


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

In this commit we correct context's key.

closes odoo/odoo#50176

Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 55385b26
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment