summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authorDjamel (otd) <otd@odoo.com>2021-03-04 16:05:40 +0000
committerDjamel (otd) <otd@odoo.com>2021-03-05 08:51:12 +0000
commit3f54c1c7556c5d06759bf5ec74dd83872f0d24d2 (patch)
treeb7ea6feeb577b468cdb35c47642d705101d1dcfc /doc/python3.rst
parent1d483ab5e2f9bba0fd86c6fe4595a9959b2f125d (diff)
[FIX] base: fix the customer search by vat number
Steps to follow to reproduce the bug: -Go to sales -Add a vat number with a '-' like: "123456789-5" to any customer -Create a new SO -Search the customer by entering their VAT number Problem : When the VAT number contains the character '-' you cannot find the customer with his VAT number. The problem is the same if the vat number contains a '.' Because, the "_name_search" method before creating the query to search clients by VAT number, removes all the special characters from user input Solution : Do not remove the characters '-' and '.' from the user input for the customer search by vat number. opw-2457692 closes odoo/odoo#67277 Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions