🚑 fix error in period name_search

--HG--
branch : 13.0
9 jobs for 13.0.1.1.1 in 9 minutes and 58 seconds (queued for 12 minutes and 44 seconds)
latest
Status Job ID Name Coverage
  Build
passed #112535
cfensure

00:00:34

passed #112536
get_odoo_scripts

00:00:49

 
  Test
passed #112537
black

00:00:53

passed #112542
documentation

00:01:12

passed #112538
flake8

00:00:36

passed #112541
install_module_without_demo

00:02:41

passed #112539
isort

00:00:39

passed #112540
test

00:07:40

85.0%
 
  Deploy
passed #112543
publish_documentation

00:00:50