we checked on odoo runbot, and it's working fine in the latest 18.0 Build, so please update your odoo18 code with the latest.