Please sign in to comment.
[FIX] expression.py: auto_join no require join
When we search for example: ``` self.env['account.analytic.account'].search( ['|', ('id', '=', 22), ('partner_id.name', 'ilike', 'yo')] ) ``` with a record with ID 22 that has partner_id unset, this would unexpectedly return no records: because partner_id field is `auto_join=True` and so when auto_join'ing we remove any records that has no partner_id. This has been reported before, this changeset is an example of it being fixed (if this was added it would probably be in master). opw-1816246 opw-1941547 opw-1950010 closes #31908
- Loading branch information...
Showing with 30 additions and 8 deletions.