Missing None check when searching for several values using ';'.
Searching on a selection field where its possible values have spaces in between requires the user to use double quotes. In this scenario, in the Catalan language, searching on account.payment on the "Payment Kind" field, it crashes when the user introduces the last double quotes symbol:
"Classe de pagament": "A pagar";"
with the following traceback:
Traceback (most recent call last):
File "/home/albert/d/hg/guillen/tryton/tryton/gui/window/view_form/view/screen_container.py", line 420, in keypress
self.update()
File "/home/albert/d/hg/guillen/tryton/tryton/gui/window/view_form/view/screen_container.py", line 320, in update
res = self.screen.search_complete(self.get_text())
File "/home/albert/d/hg/guillen/tryton/tryton/gui/window/view_form/screen/screen.py", line 242, in search_complete
return list(self.domain_parser.completion(search_string))
File "/home/albert/d/hg/guillen/tryton/tryton/common/domain_parser.py", line 993, in completion
for complete in self.complete(ending):
File "/home/albert/d/hg/guillen/tryton/tryton/common/domain_parser.py", line 1054, in complete
for comp in complete_value(field, value):
File "/home/albert/d/hg/guillen/tryton/tryton/common/domain_parser.py", line 690, in complete_selection
test_value = test_value.strip('%')
AttributeError: 'NoneType' object has no attribute 'strip'