Thursday, June 6, 2019
2 changes · master
Resolved issues and error corrections
This fixes an intermittent failure in Odoo's automated test suite by ensuring required debug templates are loaded directly during QUnit tests. The change helps keep development validation stable and reduces false test failures without changing customer-facing behavior.
Original PR description
Before this commit, the test `list: edit view menu item` would sometimes crash as now the debug manager loads its templates with an `xmlDependencies` where it was not the case before (included in base.xml), see 73327db0656bf.
This fixes cases where searches could miss valid records when automatic joins were used behind the scenes. Users should see more accurate results across affected areas such as accounting, contacts, calendar, sales teams, stock, and core access rules without changing how they search.
Original PR description
Fixes #25175 While osv.query.Query supports different kinds of joins, osv.expression.Expression only supports implicit joins. The solution is to add the join type in Expression and pass the joins to Query in its native format. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr