Skip to content

Commit 3b609d8

Browse files
committed
[FIX] partner_autocomplete: Prevent unnecessary input field display for Mobile
Steps to Reproduce: 1. Install Sales module 2. Create a new quotation in mobile view Issue: - The input field of contact is displayed twice due to a missing `t-else` condition, causing both fields to appear simultaneously. Solution: - Added the missing `t-else` condition to ensure that only one input field is displayed as intended. opw-4767186 closes odoo#210909 X-original-commit: c032778 Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com> Signed-off-by: Dhwani Patel (dwa) <dwa@odoo.com>
1 parent 6be4280 commit 3b609d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/partner_autocomplete/static/src/xml/partner_autocomplete.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<t t-name="partner_autocomplete.PartnerAutoCompleteMany2XField" t-inherit="web.Many2XAutocomplete" t-inherit-mode="primary">
4242
<xpath expr="//AutoComplete" position="replace">
43-
<PartnerAutoComplete
43+
<PartnerAutoComplete t-else=""
4444
value="this.props.value || ''"
4545
autoSelect="true"
4646
sources="sources"

0 commit comments

Comments
 (0)