Skip to content

Fork Sync Branch 17.0#34

Merged
btl-bot merged 4 commits into
BTLzdravtech:17.0from
OCA:17.0
Jul 10, 2025
Merged

Fork Sync Branch 17.0#34
btl-bot merged 4 commits into
BTLzdravtech:17.0from
OCA:17.0

Conversation

@btl-bot
Copy link
Copy Markdown

@btl-bot btl-bot commented Jul 10, 2025

No description provided.

pedrobaeza and others added 4 commits July 8, 2025 17:46
When iterating through the users from LDAP, if the login information
is read in bytes, passing the value in bytes to the psycopg2 library
doesn't work, failing with this error:

```
psycopg2.errors.UndefinedFunction: operator does not exist: text = bytea
LINE 1: SELECT id FROM res_users WHERE lower(login)='...
```

so we need to decode the result before to get a pure string.

TT56992
Signed-off-by pedrobaeza
Copy link
Copy Markdown

@sireko sireko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot btl-bot merged commit 432692b into BTLzdravtech:17.0 Jul 10, 2025
4 checks passed
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.

4 participants