Skip to content

Conversation

@remi-filament
Copy link
Contributor

company ids separated by - is only available on sanitized request as per : https://github.com/odoo/odoo/blob/fcc5a90d2d5754923676b11031e37f52729402fd/addons/web/models/ir_http.py#L46

when using request.httprequest.cookies.get("cids"), you get a comma separated list instead and therefore the lines after the ones assigning company_id are failing when you get more than 2 companies active (because trying to cast to integer a string with potential multiple commas)

@pedrobaeza pedrobaeza added this to the 18.0 milestone Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants