Skip to content
Snippets Groups Projects
Commit 80d8a057 authored by pedrambiria's avatar pedrambiria
Browse files

[FIX] point_of_sale: handle line breaks in product search


Before this commit: the `product.display_name` field could contain
line breaks, which prevented it from being matched correctly by
regular expressions. This commit fixes the issue by modifying the
`_product_search_string()` function to remove line breaks.

opw-3239830

closes odoo/odoo#116692

Signed-off-by: default avatarTrinh Jacky (trj) <trj@odoo.com>
parent 8c48d4f2
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment