You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `dms_security_mixin`: override `_search()` to restore the access filter
after 19.0's `Domain.optimize(basic)` bypass; update `_read_group` to
the new aggregate-tuple return signature.
- `directory._search_starred`: handle the 19.0 Domain optimizer
normalisation that turns `('starred', '=', True)` into
`('starred', 'in', {True})`. Without this, starred-search returns the
inverse set (test_starred fails).
- Switch `odoo.osv.expression` (`AND`/`OR`) to `odoo.fields.Domain`
(`Domain.AND`/`Domain.OR`).
- Rename `auto_join` → `bypass_search_access` across one2many/many2one
fields (10 sites).
- `res.users` references: `groups_id` → `group_ids` (m2m rename).
- `_sql_constraints` → `models.Constraint` declarations.
- Controllers: `@route(type='json')` → `@route(type='jsonrpc')`.
- Security: replace `category_id` with `privilege_id`; add the privilege
records the 2-tier user/manager group structure expects.
- Demo data: `groups_id` → `group_ids` on `res.users` fixtures.
- Tests: add `require_demo_xmlid` helper so demo-dependent tests skip
gracefully on CI (which runs without demo data).
- Translation calls in `directory.py` modernised to `self.env._()` to
satisfy 19.0's pylint_odoo W8161/W8301 (co-located with the
`_search_starred` fix; portal.py/test cleanup lives in `[IMP]`).
- Search view: drop deprecated `expand="0"` + `string="Group By"` from
`<group>`; trivial XPath updates to OWL 2 templates.
- Portal tour: drop deprecated `test: true` flag; adapt step to the
19.0 verify-only pattern.
- Kanban `dms.KanbanButtons` template: drop `t-inherit="web.KanbanView.Buttons"`
+ xpath. 19.0 core empties that parent template (was a `<div role="toolbar">`
in 18.0), so xpath inheritance produces no anchor and OWL crashes at render
with `Element ... cannot be located in element tree`. Self-contained
template now owns its own toolbar div, mirroring 18.0's effective output.
- `path_owl.xml` (DMS path breadcrumb): replace inline-style `<a oe_form_uri>`
+ `<span style="display: inline">` with Odoo 19's `<ol class="o_breadcrumb
breadcrumb mb-0"><li class="breadcrumb-item">` Bootstrap idiom. Final
segment uses `class="breadcrumb-item active"` with `aria-current="page"`.
Restores visual parity with 18.0 (the migration's earlier removal dropped
visible separators); aligns with 19.0 conventions used elsewhere in core.
- `dms_category.xml` search view: restore `filter_domain="['|', ('name',
'ilike', self), ('parent_id', 'child_of', raw_value)]"` on the name
field. The migration's earlier removal lost the 18.0 behaviour of
matching a parent-category subtree when typing the parent's name;
19.0's bare `ilike` default returned only the literal-match row. Tag
search left as default — 18.0's filter was equivalent there.
Signed-off-by: Daniel Kendall <dkendall@ledoweb.com>
0 commit comments